Class tsvBaseListener
This class provides an empty implementation of ItsvListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Tsv
Assembly: Tsv.dll
Syntax
public class tsvBaseListener : object, ItsvListener, 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.
EnterField(tsvParser.FieldContext)
Enter a parse tree produced by field().
The default implementation does nothing.
Declaration
public virtual void EnterField(tsvParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.FieldContext | context | The parse tree. |
EnterHdr(tsvParser.HdrContext)
Enter a parse tree produced by hdr().
The default implementation does nothing.
Declaration
public virtual void EnterHdr(tsvParser.HdrContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.HdrContext | context | The parse tree. |
EnterRow(tsvParser.RowContext)
Enter a parse tree produced by row().
The default implementation does nothing.
Declaration
public virtual void EnterRow(tsvParser.RowContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.RowContext | context | The parse tree. |
EnterTsvFile(tsvParser.TsvFileContext)
Enter a parse tree produced by tsvFile().
The default implementation does nothing.
Declaration
public virtual void EnterTsvFile(tsvParser.TsvFileContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.TsvFileContext | 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.
ExitField(tsvParser.FieldContext)
Exit a parse tree produced by field().
The default implementation does nothing.
Declaration
public virtual void ExitField(tsvParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.FieldContext | context | The parse tree. |
ExitHdr(tsvParser.HdrContext)
Exit a parse tree produced by hdr().
The default implementation does nothing.
Declaration
public virtual void ExitHdr(tsvParser.HdrContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.HdrContext | context | The parse tree. |
ExitRow(tsvParser.RowContext)
Exit a parse tree produced by row().
The default implementation does nothing.
Declaration
public virtual void ExitRow(tsvParser.RowContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.RowContext | context | The parse tree. |
ExitTsvFile(tsvParser.TsvFileContext)
Exit a parse tree produced by tsvFile().
The default implementation does nothing.
Declaration
public virtual void ExitTsvFile(tsvParser.TsvFileContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.TsvFileContext | 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.