Show / Hide Table of Contents

Class alpacaBaseVisitor<Result>

This class provides an empty implementation of IalpacaVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
alpacaBaseVisitor<Result>
Implements
IalpacaVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Alpaca
Assembly: Alpaca.dll
Syntax
public class alpacaBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IalpacaVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAdjacencyPred(alpacaParser.AdjacencyPredContext)

Visit a parse tree produced by adjacencyPred().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAdjacencyPred(alpacaParser.AdjacencyPredContext context)
Parameters
Type Name Description
alpacaParser.AdjacencyPredContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArrowchain(alpacaParser.ArrowchainContext)

Visit a parse tree produced by arrowchain().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArrowchain(alpacaParser.ArrowchainContext context)
Parameters
Type Name Description
alpacaParser.ArrowchainContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBoolPrimitive(alpacaParser.BoolPrimitiveContext)

Visit a parse tree produced by boolPrimitive().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBoolPrimitive(alpacaParser.BoolPrimitiveContext context)
Parameters
Type Name Description
alpacaParser.BoolPrimitiveContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitClassDefn(alpacaParser.ClassDefnContext)

Visit a parse tree produced by classDefn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitClassDefn(alpacaParser.ClassDefnContext context)
Parameters
Type Name Description
alpacaParser.ClassDefnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitClassID(alpacaParser.ClassIDContext)

Visit a parse tree produced by classID().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitClassID(alpacaParser.ClassIDContext context)
Parameters
Type Name Description
alpacaParser.ClassIDContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitClassRef(alpacaParser.ClassRefContext)

Visit a parse tree produced by classRef().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitClassRef(alpacaParser.ClassRefContext context)
Parameters
Type Name Description
alpacaParser.ClassRefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDefn(alpacaParser.DefnContext)

Visit a parse tree produced by defn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDefn(alpacaParser.DefnContext context)
Parameters
Type Name Description
alpacaParser.DefnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDefns(alpacaParser.DefnsContext)

Visit a parse tree produced by defns().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDefns(alpacaParser.DefnsContext context)
Parameters
Type Name Description
alpacaParser.DefnsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpression(alpacaParser.ExpressionContext)

Visit a parse tree produced by expression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpression(alpacaParser.ExpressionContext context)
Parameters
Type Name Description
alpacaParser.ExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIdentifier(alpacaParser.IdentifierContext)

Visit a parse tree produced by identifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIdentifier(alpacaParser.IdentifierContext context)
Parameters
Type Name Description
alpacaParser.IdentifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMembershipDecl(alpacaParser.MembershipDeclContext)

Visit a parse tree produced by membershipDecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMembershipDecl(alpacaParser.MembershipDeclContext context)
Parameters
Type Name Description
alpacaParser.MembershipDeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNaturalnumber(alpacaParser.NaturalnumberContext)

Visit a parse tree produced by naturalnumber().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNaturalnumber(alpacaParser.NaturalnumberContext context)
Parameters
Type Name Description
alpacaParser.NaturalnumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNbhdDefn(alpacaParser.NbhdDefnContext)

Visit a parse tree produced by nbhdDefn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNbhdDefn(alpacaParser.NbhdDefnContext context)
Parameters
Type Name Description
alpacaParser.NbhdDefnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNbhdID(alpacaParser.NbhdIDContext)

Visit a parse tree produced by nbhdID().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNbhdID(alpacaParser.NbhdIDContext context)
Parameters
Type Name Description
alpacaParser.NbhdIDContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNeigbourhood(alpacaParser.NeigbourhoodContext)

Visit a parse tree produced by neigbourhood().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNeigbourhood(alpacaParser.NeigbourhoodContext context)
Parameters
Type Name Description
alpacaParser.NeigbourhoodContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProg(alpacaParser.ProgContext)

Visit a parse tree produced by prog().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProg(alpacaParser.ProgContext context)
Parameters
Type Name Description
alpacaParser.ProgContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRelationalPred(alpacaParser.RelationalPredContext)

Visit a parse tree produced by relationalPred().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRelationalPred(alpacaParser.RelationalPredContext context)
Parameters
Type Name Description
alpacaParser.RelationalPredContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRule_(alpacaParser.Rule_Context)

Visit a parse tree produced by rule_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRule_(alpacaParser.Rule_Context context)
Parameters
Type Name Description
alpacaParser.Rule_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRules(alpacaParser.RulesContext)

Visit a parse tree produced by rules().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRules(alpacaParser.RulesContext context)
Parameters
Type Name Description
alpacaParser.RulesContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStateDefn(alpacaParser.StateDefnContext)

Visit a parse tree produced by stateDefn().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStateDefn(alpacaParser.StateDefnContext context)
Parameters
Type Name Description
alpacaParser.StateDefnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStateID(alpacaParser.StateIDContext)

Visit a parse tree produced by stateID().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStateID(alpacaParser.StateIDContext context)
Parameters
Type Name Description
alpacaParser.StateIDContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStateRef(alpacaParser.StateRefContext)

Visit a parse tree produced by stateRef().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStateRef(alpacaParser.StateRefContext context)
Parameters
Type Name Description
alpacaParser.StateRefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm(alpacaParser.TermContext)

Visit a parse tree produced by term().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm(alpacaParser.TermContext context)
Parameters
Type Name Description
alpacaParser.TermContext context

The parse tree.

Returns
Type Description
Result

Implements

IalpacaVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX