Class tracBaseListener
This class provides an empty implementation of ItracListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Trac
Assembly: Trac.dll
Syntax
public class tracBaseListener : object, ItracListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterActive(tracParser.ActiveContext)
Enter a parse tree produced by active().
The default implementation does nothing.
Declaration
public virtual void EnterActive(tracParser.ActiveContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ActiveContext | context | The parse tree. |
EnterArg(tracParser.ArgContext)
Enter a parse tree produced by arg().
The default implementation does nothing.
Declaration
public virtual void EnterArg(tracParser.ArgContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ArgContext | context | The parse tree. |
EnterArglist(tracParser.ArglistContext)
Enter a parse tree produced by arglist().
The default implementation does nothing.
Declaration
public virtual void EnterArglist(tracParser.ArglistContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ArglistContext | context | The parse tree. |
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.
EnterMacro(tracParser.MacroContext)
Enter a parse tree produced by macro().
The default implementation does nothing.
Declaration
public virtual void EnterMacro(tracParser.MacroContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.MacroContext | context | The parse tree. |
EnterName(tracParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(tracParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.NameContext | context | The parse tree. |
EnterNeutral(tracParser.NeutralContext)
Enter a parse tree produced by neutral().
The default implementation does nothing.
Declaration
public virtual void EnterNeutral(tracParser.NeutralContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.NeutralContext | context | The parse tree. |
EnterProgram(tracParser.ProgramContext)
Enter a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void EnterProgram(tracParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ProgramContext | context | The parse tree. |
EnterString(tracParser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString(tracParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.StringContext | context | The parse tree. |
ExitActive(tracParser.ActiveContext)
Exit a parse tree produced by active().
The default implementation does nothing.
Declaration
public virtual void ExitActive(tracParser.ActiveContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ActiveContext | context | The parse tree. |
ExitArg(tracParser.ArgContext)
Exit a parse tree produced by arg().
The default implementation does nothing.
Declaration
public virtual void ExitArg(tracParser.ArgContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ArgContext | context | The parse tree. |
ExitArglist(tracParser.ArglistContext)
Exit a parse tree produced by arglist().
The default implementation does nothing.
Declaration
public virtual void ExitArglist(tracParser.ArglistContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ArglistContext | 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.
ExitMacro(tracParser.MacroContext)
Exit a parse tree produced by macro().
The default implementation does nothing.
Declaration
public virtual void ExitMacro(tracParser.MacroContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.MacroContext | context | The parse tree. |
ExitName(tracParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(tracParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.NameContext | context | The parse tree. |
ExitNeutral(tracParser.NeutralContext)
Exit a parse tree produced by neutral().
The default implementation does nothing.
Declaration
public virtual void ExitNeutral(tracParser.NeutralContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.NeutralContext | context | The parse tree. |
ExitProgram(tracParser.ProgramContext)
Exit a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void ExitProgram(tracParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.ProgramContext | context | The parse tree. |
ExitString(tracParser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString(tracParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
tracParser.StringContext | 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.