Interface IalpacaVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by alpacaParser.
Namespace: GCore.Antlr.Grammers.Alpaca
Assembly: Alpaca.dll
Syntax
public interface IalpacaVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAdjacencyPred(alpacaParser.AdjacencyPredContext)
Visit a parse tree produced by adjacencyPred().
Declaration
Result VisitAdjacencyPred(alpacaParser.AdjacencyPredContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.AdjacencyPredContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArrowchain(alpacaParser.ArrowchainContext)
Visit a parse tree produced by arrowchain().
Declaration
Result VisitArrowchain(alpacaParser.ArrowchainContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ArrowchainContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoolPrimitive(alpacaParser.BoolPrimitiveContext)
Visit a parse tree produced by boolPrimitive().
Declaration
Result VisitBoolPrimitive(alpacaParser.BoolPrimitiveContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.BoolPrimitiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClassDefn(alpacaParser.ClassDefnContext)
Visit a parse tree produced by classDefn().
Declaration
Result VisitClassDefn(alpacaParser.ClassDefnContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ClassDefnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClassID(alpacaParser.ClassIDContext)
Visit a parse tree produced by classID().
Declaration
Result VisitClassID(alpacaParser.ClassIDContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ClassIDContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClassRef(alpacaParser.ClassRefContext)
Visit a parse tree produced by classRef().
Declaration
Result VisitClassRef(alpacaParser.ClassRefContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ClassRefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefn(alpacaParser.DefnContext)
Visit a parse tree produced by defn().
Declaration
Result VisitDefn(alpacaParser.DefnContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.DefnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefns(alpacaParser.DefnsContext)
Visit a parse tree produced by defns().
Declaration
Result VisitDefns(alpacaParser.DefnsContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.DefnsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(alpacaParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(alpacaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(alpacaParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(alpacaParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMembershipDecl(alpacaParser.MembershipDeclContext)
Visit a parse tree produced by membershipDecl().
Declaration
Result VisitMembershipDecl(alpacaParser.MembershipDeclContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.MembershipDeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNaturalnumber(alpacaParser.NaturalnumberContext)
Visit a parse tree produced by naturalnumber().
Declaration
Result VisitNaturalnumber(alpacaParser.NaturalnumberContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.NaturalnumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNbhdDefn(alpacaParser.NbhdDefnContext)
Visit a parse tree produced by nbhdDefn().
Declaration
Result VisitNbhdDefn(alpacaParser.NbhdDefnContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.NbhdDefnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNbhdID(alpacaParser.NbhdIDContext)
Visit a parse tree produced by nbhdID().
Declaration
Result VisitNbhdID(alpacaParser.NbhdIDContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.NbhdIDContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNeigbourhood(alpacaParser.NeigbourhoodContext)
Visit a parse tree produced by neigbourhood().
Declaration
Result VisitNeigbourhood(alpacaParser.NeigbourhoodContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.NeigbourhoodContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProg(alpacaParser.ProgContext)
Visit a parse tree produced by prog().
Declaration
Result VisitProg(alpacaParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.ProgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRelationalPred(alpacaParser.RelationalPredContext)
Visit a parse tree produced by relationalPred().
Declaration
Result VisitRelationalPred(alpacaParser.RelationalPredContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.RelationalPredContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRule_(alpacaParser.Rule_Context)
Visit a parse tree produced by rule_().
Declaration
Result VisitRule_(alpacaParser.Rule_Context context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.Rule_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRules(alpacaParser.RulesContext)
Visit a parse tree produced by rules().
Declaration
Result VisitRules(alpacaParser.RulesContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.RulesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStateDefn(alpacaParser.StateDefnContext)
Visit a parse tree produced by stateDefn().
Declaration
Result VisitStateDefn(alpacaParser.StateDefnContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.StateDefnContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStateID(alpacaParser.StateIDContext)
Visit a parse tree produced by stateID().
Declaration
Result VisitStateID(alpacaParser.StateIDContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.StateIDContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStateRef(alpacaParser.StateRefContext)
Visit a parse tree produced by stateRef().
Declaration
Result VisitStateRef(alpacaParser.StateRefContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.StateRefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(alpacaParser.TermContext)
Visit a parse tree produced by term().
Declaration
Result VisitTerm(alpacaParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
alpacaParser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |