Class tlBaseListener
This class provides an empty implementation of ItlListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
System.Object
tlBaseListener
Namespace: GCore.Antlr.Grammers.Tl
Assembly: Tl.dll
Syntax
public class tlBaseListener : object, ItlListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterEveryRule(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.
EnterProposition(tlParser.PropositionContext)
Enter a parse tree produced by proposition().
The default implementation does nothing.
Declaration
public virtual void EnterProposition(tlParser.PropositionContext context)
Parameters
Type | Name | Description |
---|---|---|
tlParser.PropositionContext | context | The parse tree. |
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.
ExitProposition(tlParser.PropositionContext)
Exit a parse tree produced by proposition().
The default implementation does nothing.
Declaration
public virtual void ExitProposition(tlParser.PropositionContext context)
Parameters
Type | Name | Description |
---|---|---|
tlParser.PropositionContext | context | The parse tree. |
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.
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
Antlr4.Runtime.Tree.IParseTreeListener