Class infBaseListener
This class provides an empty implementation of IinfListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Inf
Assembly: Inf.dll
Syntax
public class infBaseListener : object, IinfListener, 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.
EnterInf(infParser.InfContext)
Enter a parse tree produced by inf().
The default implementation does nothing.
Declaration
public virtual void EnterInf(infParser.InfContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.InfContext | context | The parse tree. |
EnterLine(infParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(infParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.LineContext | context | The parse tree. |
EnterSection(infParser.SectionContext)
Enter a parse tree produced by section().
The default implementation does nothing.
Declaration
public virtual void EnterSection(infParser.SectionContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.SectionContext | context | The parse tree. |
EnterSectionheader(infParser.SectionheaderContext)
Enter a parse tree produced by sectionheader().
The default implementation does nothing.
Declaration
public virtual void EnterSectionheader(infParser.SectionheaderContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.SectionheaderContext | context | The parse tree. |
EnterString(infParser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString(infParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.StringContext | context | The parse tree. |
EnterStringlist(infParser.StringlistContext)
Enter a parse tree produced by stringlist().
The default implementation does nothing.
Declaration
public virtual void EnterStringlist(infParser.StringlistContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.StringlistContext | 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.
ExitInf(infParser.InfContext)
Exit a parse tree produced by inf().
The default implementation does nothing.
Declaration
public virtual void ExitInf(infParser.InfContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.InfContext | context | The parse tree. |
ExitLine(infParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(infParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.LineContext | context | The parse tree. |
ExitSection(infParser.SectionContext)
Exit a parse tree produced by section().
The default implementation does nothing.
Declaration
public virtual void ExitSection(infParser.SectionContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.SectionContext | context | The parse tree. |
ExitSectionheader(infParser.SectionheaderContext)
Exit a parse tree produced by sectionheader().
The default implementation does nothing.
Declaration
public virtual void ExitSectionheader(infParser.SectionheaderContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.SectionheaderContext | context | The parse tree. |
ExitString(infParser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString(infParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.StringContext | context | The parse tree. |
ExitStringlist(infParser.StringlistContext)
Exit a parse tree produced by stringlist().
The default implementation does nothing.
Declaration
public virtual void ExitStringlist(infParser.StringlistContext context)
Parameters
Type | Name | Description |
---|---|---|
infParser.StringlistContext | 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.