Class istcBaseListener
This class provides an empty implementation of IistcListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Istc
Assembly: Istc.dll
Syntax
public class istcBaseListener : object, IistcListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterCheck(istcParser.CheckContext)
Enter a parse tree produced by check().
The default implementation does nothing.
Declaration
public virtual void EnterCheck(istcParser.CheckContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.CheckContext | 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.
EnterIstc(istcParser.IstcContext)
Enter a parse tree produced by istc().
The default implementation does nothing.
Declaration
public virtual void EnterIstc(istcParser.IstcContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.IstcContext | context | The parse tree. |
EnterRegistration(istcParser.RegistrationContext)
Enter a parse tree produced by registration().
The default implementation does nothing.
Declaration
public virtual void EnterRegistration(istcParser.RegistrationContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.RegistrationContext | context | The parse tree. |
EnterWork(istcParser.WorkContext)
Enter a parse tree produced by work().
The default implementation does nothing.
Declaration
public virtual void EnterWork(istcParser.WorkContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.WorkContext | context | The parse tree. |
EnterYear(istcParser.YearContext)
Enter a parse tree produced by year().
The default implementation does nothing.
Declaration
public virtual void EnterYear(istcParser.YearContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.YearContext | context | The parse tree. |
ExitCheck(istcParser.CheckContext)
Exit a parse tree produced by check().
The default implementation does nothing.
Declaration
public virtual void ExitCheck(istcParser.CheckContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.CheckContext | 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.
ExitIstc(istcParser.IstcContext)
Exit a parse tree produced by istc().
The default implementation does nothing.
Declaration
public virtual void ExitIstc(istcParser.IstcContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.IstcContext | context | The parse tree. |
ExitRegistration(istcParser.RegistrationContext)
Exit a parse tree produced by registration().
The default implementation does nothing.
Declaration
public virtual void ExitRegistration(istcParser.RegistrationContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.RegistrationContext | context | The parse tree. |
ExitWork(istcParser.WorkContext)
Exit a parse tree produced by work().
The default implementation does nothing.
Declaration
public virtual void ExitWork(istcParser.WorkContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.WorkContext | context | The parse tree. |
ExitYear(istcParser.YearContext)
Exit a parse tree produced by year().
The default implementation does nothing.
Declaration
public virtual void ExitYear(istcParser.YearContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.YearContext | 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.