Class databankBaseVisitor<Result>
This class provides an empty implementation of IdatabankVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Databank
Assembly: Databank.dll
Syntax
public class databankBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IdatabankVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitDatabank(databankParser.DatabankContext)
Visit a parse tree produced by databank().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDatabank(databankParser.DatabankContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.DatabankContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDatatype(databankParser.DatatypeContext)
Visit a parse tree produced by datatype().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDatatype(databankParser.DatatypeContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.DatatypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDatedseries(databankParser.DatedseriesContext)
Visit a parse tree produced by datedseries().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDatedseries(databankParser.DatedseriesContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.DatedseriesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDateline(databankParser.DatelineContext)
Visit a parse tree produced by dateline().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDateline(databankParser.DatelineContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.DatelineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(databankParser.NumberContext)
Visit a parse tree produced by number().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNumber(databankParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSample(databankParser.SampleContext)
Visit a parse tree produced by sample().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSample(databankParser.SampleContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.SampleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUndatedseries(databankParser.UndatedseriesContext)
Visit a parse tree produced by undatedseries().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUndatedseries(databankParser.UndatedseriesContext context)
Parameters
Type | Name | Description |
---|---|---|
databankParser.UndatedseriesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |