Class tsvBaseVisitor<Result>
This class provides an empty implementation of ItsvVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
System.Object
tsvBaseVisitor<Result>
Namespace: GCore.Antlr.Grammers.Tsv
Assembly: Tsv.dll
Syntax
public class tsvBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ItsvVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitField(tsvParser.FieldContext)
Visit a parse tree produced by field().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitField(tsvParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.FieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHdr(tsvParser.HdrContext)
Visit a parse tree produced by hdr().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHdr(tsvParser.HdrContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.HdrContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRow(tsvParser.RowContext)
Visit a parse tree produced by row().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRow(tsvParser.RowContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.RowContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTsvFile(tsvParser.TsvFileContext)
Visit a parse tree produced by tsvFile().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTsvFile(tsvParser.TsvFileContext context)
Parameters
Type | Name | Description |
---|---|---|
tsvParser.TsvFileContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
Implements
IParseTreeVisitor<>