Show / Hide Table of Contents

Class alpacaBaseListener

This class provides an empty implementation of IalpacaListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
alpacaBaseListener
Implements
IalpacaListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Alpaca
Assembly: Alpaca.dll
Syntax
public class alpacaBaseListener : object, IalpacaListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAdjacencyPred(alpacaParser.AdjacencyPredContext)

Enter a parse tree produced by adjacencyPred().

The default implementation does nothing.

Declaration
public virtual void EnterAdjacencyPred(alpacaParser.AdjacencyPredContext context)
Parameters
Type Name Description
alpacaParser.AdjacencyPredContext context

The parse tree.

| Improve this Doc View Source

EnterArrowchain(alpacaParser.ArrowchainContext)

Enter a parse tree produced by arrowchain().

The default implementation does nothing.

Declaration
public virtual void EnterArrowchain(alpacaParser.ArrowchainContext context)
Parameters
Type Name Description
alpacaParser.ArrowchainContext context

The parse tree.

| Improve this Doc View Source

EnterBoolPrimitive(alpacaParser.BoolPrimitiveContext)

Enter a parse tree produced by boolPrimitive().

The default implementation does nothing.

Declaration
public virtual void EnterBoolPrimitive(alpacaParser.BoolPrimitiveContext context)
Parameters
Type Name Description
alpacaParser.BoolPrimitiveContext context

The parse tree.

| Improve this Doc View Source

EnterClassDefn(alpacaParser.ClassDefnContext)

Enter a parse tree produced by classDefn().

The default implementation does nothing.

Declaration
public virtual void EnterClassDefn(alpacaParser.ClassDefnContext context)
Parameters
Type Name Description
alpacaParser.ClassDefnContext context

The parse tree.

| Improve this Doc View Source

EnterClassID(alpacaParser.ClassIDContext)

Enter a parse tree produced by classID().

The default implementation does nothing.

Declaration
public virtual void EnterClassID(alpacaParser.ClassIDContext context)
Parameters
Type Name Description
alpacaParser.ClassIDContext context

The parse tree.

| Improve this Doc View Source

EnterClassRef(alpacaParser.ClassRefContext)

Enter a parse tree produced by classRef().

The default implementation does nothing.

Declaration
public virtual void EnterClassRef(alpacaParser.ClassRefContext context)
Parameters
Type Name Description
alpacaParser.ClassRefContext context

The parse tree.

| Improve this Doc View Source

EnterDefn(alpacaParser.DefnContext)

Enter a parse tree produced by defn().

The default implementation does nothing.

Declaration
public virtual void EnterDefn(alpacaParser.DefnContext context)
Parameters
Type Name Description
alpacaParser.DefnContext context

The parse tree.

| Improve this Doc View Source

EnterDefns(alpacaParser.DefnsContext)

Enter a parse tree produced by defns().

The default implementation does nothing.

Declaration
public virtual void EnterDefns(alpacaParser.DefnsContext context)
Parameters
Type Name Description
alpacaParser.DefnsContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterExpression(alpacaParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(alpacaParser.ExpressionContext context)
Parameters
Type Name Description
alpacaParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterIdentifier(alpacaParser.IdentifierContext)

Enter a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void EnterIdentifier(alpacaParser.IdentifierContext context)
Parameters
Type Name Description
alpacaParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

EnterMembershipDecl(alpacaParser.MembershipDeclContext)

Enter a parse tree produced by membershipDecl().

The default implementation does nothing.

Declaration
public virtual void EnterMembershipDecl(alpacaParser.MembershipDeclContext context)
Parameters
Type Name Description
alpacaParser.MembershipDeclContext context

The parse tree.

| Improve this Doc View Source

EnterNaturalnumber(alpacaParser.NaturalnumberContext)

Enter a parse tree produced by naturalnumber().

The default implementation does nothing.

Declaration
public virtual void EnterNaturalnumber(alpacaParser.NaturalnumberContext context)
Parameters
Type Name Description
alpacaParser.NaturalnumberContext context

The parse tree.

| Improve this Doc View Source

EnterNbhdDefn(alpacaParser.NbhdDefnContext)

Enter a parse tree produced by nbhdDefn().

The default implementation does nothing.

Declaration
public virtual void EnterNbhdDefn(alpacaParser.NbhdDefnContext context)
Parameters
Type Name Description
alpacaParser.NbhdDefnContext context

The parse tree.

| Improve this Doc View Source

EnterNbhdID(alpacaParser.NbhdIDContext)

Enter a parse tree produced by nbhdID().

The default implementation does nothing.

Declaration
public virtual void EnterNbhdID(alpacaParser.NbhdIDContext context)
Parameters
Type Name Description
alpacaParser.NbhdIDContext context

The parse tree.

| Improve this Doc View Source

EnterNeigbourhood(alpacaParser.NeigbourhoodContext)

Enter a parse tree produced by neigbourhood().

The default implementation does nothing.

Declaration
public virtual void EnterNeigbourhood(alpacaParser.NeigbourhoodContext context)
Parameters
Type Name Description
alpacaParser.NeigbourhoodContext context

The parse tree.

| Improve this Doc View Source

EnterProg(alpacaParser.ProgContext)

Enter a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void EnterProg(alpacaParser.ProgContext context)
Parameters
Type Name Description
alpacaParser.ProgContext context

The parse tree.

| Improve this Doc View Source

EnterRelationalPred(alpacaParser.RelationalPredContext)

Enter a parse tree produced by relationalPred().

The default implementation does nothing.

Declaration
public virtual void EnterRelationalPred(alpacaParser.RelationalPredContext context)
Parameters
Type Name Description
alpacaParser.RelationalPredContext context

The parse tree.

| Improve this Doc View Source

EnterRule_(alpacaParser.Rule_Context)

Enter a parse tree produced by rule_().

The default implementation does nothing.

Declaration
public virtual void EnterRule_(alpacaParser.Rule_Context context)
Parameters
Type Name Description
alpacaParser.Rule_Context context

The parse tree.

| Improve this Doc View Source

EnterRules(alpacaParser.RulesContext)

Enter a parse tree produced by rules().

The default implementation does nothing.

Declaration
public virtual void EnterRules(alpacaParser.RulesContext context)
Parameters
Type Name Description
alpacaParser.RulesContext context

The parse tree.

| Improve this Doc View Source

EnterStateDefn(alpacaParser.StateDefnContext)

Enter a parse tree produced by stateDefn().

The default implementation does nothing.

Declaration
public virtual void EnterStateDefn(alpacaParser.StateDefnContext context)
Parameters
Type Name Description
alpacaParser.StateDefnContext context

The parse tree.

| Improve this Doc View Source

EnterStateID(alpacaParser.StateIDContext)

Enter a parse tree produced by stateID().

The default implementation does nothing.

Declaration
public virtual void EnterStateID(alpacaParser.StateIDContext context)
Parameters
Type Name Description
alpacaParser.StateIDContext context

The parse tree.

| Improve this Doc View Source

EnterStateRef(alpacaParser.StateRefContext)

Enter a parse tree produced by stateRef().

The default implementation does nothing.

Declaration
public virtual void EnterStateRef(alpacaParser.StateRefContext context)
Parameters
Type Name Description
alpacaParser.StateRefContext context

The parse tree.

| Improve this Doc View Source

EnterTerm(alpacaParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void EnterTerm(alpacaParser.TermContext context)
Parameters
Type Name Description
alpacaParser.TermContext context

The parse tree.

| Improve this Doc View Source

ExitAdjacencyPred(alpacaParser.AdjacencyPredContext)

Exit a parse tree produced by adjacencyPred().

The default implementation does nothing.

Declaration
public virtual void ExitAdjacencyPred(alpacaParser.AdjacencyPredContext context)
Parameters
Type Name Description
alpacaParser.AdjacencyPredContext context

The parse tree.

| Improve this Doc View Source

ExitArrowchain(alpacaParser.ArrowchainContext)

Exit a parse tree produced by arrowchain().

The default implementation does nothing.

Declaration
public virtual void ExitArrowchain(alpacaParser.ArrowchainContext context)
Parameters
Type Name Description
alpacaParser.ArrowchainContext context

The parse tree.

| Improve this Doc View Source

ExitBoolPrimitive(alpacaParser.BoolPrimitiveContext)

Exit a parse tree produced by boolPrimitive().

The default implementation does nothing.

Declaration
public virtual void ExitBoolPrimitive(alpacaParser.BoolPrimitiveContext context)
Parameters
Type Name Description
alpacaParser.BoolPrimitiveContext context

The parse tree.

| Improve this Doc View Source

ExitClassDefn(alpacaParser.ClassDefnContext)

Exit a parse tree produced by classDefn().

The default implementation does nothing.

Declaration
public virtual void ExitClassDefn(alpacaParser.ClassDefnContext context)
Parameters
Type Name Description
alpacaParser.ClassDefnContext context

The parse tree.

| Improve this Doc View Source

ExitClassID(alpacaParser.ClassIDContext)

Exit a parse tree produced by classID().

The default implementation does nothing.

Declaration
public virtual void ExitClassID(alpacaParser.ClassIDContext context)
Parameters
Type Name Description
alpacaParser.ClassIDContext context

The parse tree.

| Improve this Doc View Source

ExitClassRef(alpacaParser.ClassRefContext)

Exit a parse tree produced by classRef().

The default implementation does nothing.

Declaration
public virtual void ExitClassRef(alpacaParser.ClassRefContext context)
Parameters
Type Name Description
alpacaParser.ClassRefContext context

The parse tree.

| Improve this Doc View Source

ExitDefn(alpacaParser.DefnContext)

Exit a parse tree produced by defn().

The default implementation does nothing.

Declaration
public virtual void ExitDefn(alpacaParser.DefnContext context)
Parameters
Type Name Description
alpacaParser.DefnContext context

The parse tree.

| Improve this Doc View Source

ExitDefns(alpacaParser.DefnsContext)

Exit a parse tree produced by defns().

The default implementation does nothing.

Declaration
public virtual void ExitDefns(alpacaParser.DefnsContext context)
Parameters
Type Name Description
alpacaParser.DefnsContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitExpression(alpacaParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(alpacaParser.ExpressionContext context)
Parameters
Type Name Description
alpacaParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitIdentifier(alpacaParser.IdentifierContext)

Exit a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void ExitIdentifier(alpacaParser.IdentifierContext context)
Parameters
Type Name Description
alpacaParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

ExitMembershipDecl(alpacaParser.MembershipDeclContext)

Exit a parse tree produced by membershipDecl().

The default implementation does nothing.

Declaration
public virtual void ExitMembershipDecl(alpacaParser.MembershipDeclContext context)
Parameters
Type Name Description
alpacaParser.MembershipDeclContext context

The parse tree.

| Improve this Doc View Source

ExitNaturalnumber(alpacaParser.NaturalnumberContext)

Exit a parse tree produced by naturalnumber().

The default implementation does nothing.

Declaration
public virtual void ExitNaturalnumber(alpacaParser.NaturalnumberContext context)
Parameters
Type Name Description
alpacaParser.NaturalnumberContext context

The parse tree.

| Improve this Doc View Source

ExitNbhdDefn(alpacaParser.NbhdDefnContext)

Exit a parse tree produced by nbhdDefn().

The default implementation does nothing.

Declaration
public virtual void ExitNbhdDefn(alpacaParser.NbhdDefnContext context)
Parameters
Type Name Description
alpacaParser.NbhdDefnContext context

The parse tree.

| Improve this Doc View Source

ExitNbhdID(alpacaParser.NbhdIDContext)

Exit a parse tree produced by nbhdID().

The default implementation does nothing.

Declaration
public virtual void ExitNbhdID(alpacaParser.NbhdIDContext context)
Parameters
Type Name Description
alpacaParser.NbhdIDContext context

The parse tree.

| Improve this Doc View Source

ExitNeigbourhood(alpacaParser.NeigbourhoodContext)

Exit a parse tree produced by neigbourhood().

The default implementation does nothing.

Declaration
public virtual void ExitNeigbourhood(alpacaParser.NeigbourhoodContext context)
Parameters
Type Name Description
alpacaParser.NeigbourhoodContext context

The parse tree.

| Improve this Doc View Source

ExitProg(alpacaParser.ProgContext)

Exit a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void ExitProg(alpacaParser.ProgContext context)
Parameters
Type Name Description
alpacaParser.ProgContext context

The parse tree.

| Improve this Doc View Source

ExitRelationalPred(alpacaParser.RelationalPredContext)

Exit a parse tree produced by relationalPred().

The default implementation does nothing.

Declaration
public virtual void ExitRelationalPred(alpacaParser.RelationalPredContext context)
Parameters
Type Name Description
alpacaParser.RelationalPredContext context

The parse tree.

| Improve this Doc View Source

ExitRule_(alpacaParser.Rule_Context)

Exit a parse tree produced by rule_().

The default implementation does nothing.

Declaration
public virtual void ExitRule_(alpacaParser.Rule_Context context)
Parameters
Type Name Description
alpacaParser.Rule_Context context

The parse tree.

| Improve this Doc View Source

ExitRules(alpacaParser.RulesContext)

Exit a parse tree produced by rules().

The default implementation does nothing.

Declaration
public virtual void ExitRules(alpacaParser.RulesContext context)
Parameters
Type Name Description
alpacaParser.RulesContext context

The parse tree.

| Improve this Doc View Source

ExitStateDefn(alpacaParser.StateDefnContext)

Exit a parse tree produced by stateDefn().

The default implementation does nothing.

Declaration
public virtual void ExitStateDefn(alpacaParser.StateDefnContext context)
Parameters
Type Name Description
alpacaParser.StateDefnContext context

The parse tree.

| Improve this Doc View Source

ExitStateID(alpacaParser.StateIDContext)

Exit a parse tree produced by stateID().

The default implementation does nothing.

Declaration
public virtual void ExitStateID(alpacaParser.StateIDContext context)
Parameters
Type Name Description
alpacaParser.StateIDContext context

The parse tree.

| Improve this Doc View Source

ExitStateRef(alpacaParser.StateRefContext)

Exit a parse tree produced by stateRef().

The default implementation does nothing.

Declaration
public virtual void ExitStateRef(alpacaParser.StateRefContext context)
Parameters
Type Name Description
alpacaParser.StateRefContext context

The parse tree.

| Improve this Doc View Source

ExitTerm(alpacaParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void ExitTerm(alpacaParser.TermContext context)
Parameters
Type Name Description
alpacaParser.TermContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

IalpacaListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX