Class istcBaseVisitor<Result>
This class provides an empty implementation of IistcVisitor<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.Istc
Assembly: Istc.dll
Syntax
public class istcBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IistcVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitCheck(istcParser.CheckContext)
Visit a parse tree produced by check().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCheck(istcParser.CheckContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.CheckContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIstc(istcParser.IstcContext)
Visit a parse tree produced by istc().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIstc(istcParser.IstcContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.IstcContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRegistration(istcParser.RegistrationContext)
Visit a parse tree produced by registration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRegistration(istcParser.RegistrationContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.RegistrationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWork(istcParser.WorkContext)
Visit a parse tree produced by work().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWork(istcParser.WorkContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.WorkContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitYear(istcParser.YearContext)
Visit a parse tree produced by year().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitYear(istcParser.YearContext context)
Parameters
Type | Name | Description |
---|---|---|
istcParser.YearContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |