Class McKeemanFormBaseVisitor<Result>
This class provides an empty implementation of IMcKeemanFormVisitor<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.MckeemanForm
Assembly: MckeemanForm.dll
Syntax
public class McKeemanFormBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IMcKeemanFormVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAlternative(McKeemanFormParser.AlternativeContext)
Visit a parse tree produced by alternative().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAlternative(McKeemanFormParser.AlternativeContext context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.AlternativeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExclude(McKeemanFormParser.ExcludeContext)
Visit a parse tree produced by exclude().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExclude(McKeemanFormParser.ExcludeContext context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.ExcludeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGrammar_(McKeemanFormParser.Grammar_Context)
Visit a parse tree produced by grammar_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGrammar_(McKeemanFormParser.Grammar_Context context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.Grammar_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitItem(McKeemanFormParser.ItemContext)
Visit a parse tree produced by item().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitItem(McKeemanFormParser.ItemContext context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.ItemContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNothing(McKeemanFormParser.NothingContext)
Visit a parse tree produced by nothing().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNothing(McKeemanFormParser.NothingContext context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.NothingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRange_(McKeemanFormParser.Range_Context)
Visit a parse tree produced by range_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRange_(McKeemanFormParser.Range_Context context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.Range_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRule_(McKeemanFormParser.Rule_Context)
Visit a parse tree produced by rule_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRule_(McKeemanFormParser.Rule_Context context)
Parameters
Type | Name | Description |
---|---|---|
McKeemanFormParser.Rule_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |