Class aptBaseVisitor<Result>
This class provides an empty implementation of IaptVisitor<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.Apt
Assembly: Apt.dll
Syntax
public class aptBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IaptVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAdditionalOption(aptParser.AdditionalOptionContext)
Visit a parse tree produced by additionalOption().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAdditionalOption(aptParser.AdditionalOptionContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.AdditionalOptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAdditionalOptions(aptParser.AdditionalOptionsContext)
Visit a parse tree produced by additionalOptions().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAdditionalOptions(aptParser.AdditionalOptionsContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.AdditionalOptionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCdromURI(aptParser.CdromURIContext)
Visit a parse tree produced by cdromURI().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCdromURI(aptParser.CdromURIContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.CdromURIContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommenterR(aptParser.CommenterRContext)
Visit a parse tree produced by commenterR().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCommenterR(aptParser.CommenterRContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.CommenterRContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComponent(aptParser.ComponentContext)
Visit a parse tree produced by component().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitComponent(aptParser.ComponentContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.ComponentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComponentsR(aptParser.ComponentsRContext)
Visit a parse tree produced by componentsR().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitComponentsR(aptParser.ComponentsRContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.ComponentsRContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDoubleTickEnclosedString(aptParser.DoubleTickEnclosedStringContext)
Visit a parse tree produced by doubleTickEnclosedString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDoubleTickEnclosedString(aptParser.DoubleTickEnclosedStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.DoubleTickEnclosedStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnclosedString(aptParser.EnclosedStringContext)
Visit a parse tree produced by enclosedString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnclosedString(aptParser.EnclosedStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.EnclosedStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGenericURI(aptParser.GenericURIContext)
Visit a parse tree produced by genericURI().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGenericURI(aptParser.GenericURIContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.GenericURIContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNonSpaceString(aptParser.NonSpaceStringContext)
Visit a parse tree produced by nonSpaceString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNonSpaceString(aptParser.NonSpaceStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.NonSpaceStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNonSpaceStringSegment(aptParser.NonSpaceStringSegmentContext)
Visit a parse tree produced by nonSpaceStringSegment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNonSpaceStringSegment(aptParser.NonSpaceStringSegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.NonSpaceStringSegmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNonSquareBracketString(aptParser.NonSquareBracketStringContext)
Visit a parse tree produced by nonSquareBracketString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNonSquareBracketString(aptParser.NonSquareBracketStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.NonSquareBracketStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNonSquareBracketStringSegment(aptParser.NonSquareBracketStringSegmentContext)
Visit a parse tree produced by nonSquareBracketStringSegment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNonSquareBracketStringSegment(aptParser.NonSquareBracketStringSegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.NonSquareBracketStringSegmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionR(aptParser.OptionRContext)
Visit a parse tree produced by optionR().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOptionR(aptParser.OptionRContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.OptionRContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionsList(aptParser.OptionsListContext)
Visit a parse tree produced by optionsList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOptionsList(aptParser.OptionsListContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.OptionsListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionsR(aptParser.OptionsRContext)
Visit a parse tree produced by optionsR().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOptionsR(aptParser.OptionsRContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.OptionsRContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionValue(aptParser.OptionValueContext)
Visit a parse tree produced by optionValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOptionValue(aptParser.OptionValueContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.OptionValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionValueSegment(aptParser.OptionValueSegmentContext)
Visit a parse tree produced by optionValueSegment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOptionValueSegment(aptParser.OptionValueSegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.OptionValueSegmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRecord(aptParser.RecordContext)
Visit a parse tree produced by record().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRecord(aptParser.RecordContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.RecordContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRestSchemaWords(aptParser.RestSchemaWordsContext)
Visit a parse tree produced by restSchemaWords().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRestSchemaWords(aptParser.RestSchemaWordsContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.RestSchemaWordsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSingleTickEnclosedString(aptParser.SingleTickEnclosedStringContext)
Visit a parse tree produced by singleTickEnclosedString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSingleTickEnclosedString(aptParser.SingleTickEnclosedStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.SingleTickEnclosedStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTickEnclosedString(aptParser.TickEnclosedStringContext)
Visit a parse tree produced by tickEnclosedString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTickEnclosedString(aptParser.TickEnclosedStringContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.TickEnclosedStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUriR(aptParser.UriRContext)
Visit a parse tree produced by uriR().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUriR(aptParser.UriRContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.UriRContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUriSchema(aptParser.UriSchemaContext)
Visit a parse tree produced by uriSchema().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUriSchema(aptParser.UriSchemaContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.UriSchemaContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWordWithDash(aptParser.WordWithDashContext)
Visit a parse tree produced by wordWithDash().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWordWithDash(aptParser.WordWithDashContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.WordWithDashContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWordWithDashSegment(aptParser.WordWithDashSegmentContext)
Visit a parse tree produced by wordWithDashSegment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWordWithDashSegment(aptParser.WordWithDashSegmentContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.WordWithDashSegmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWordWithPlus(aptParser.WordWithPlusContext)
Visit a parse tree produced by wordWithPlus().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWordWithPlus(aptParser.WordWithPlusContext context)
Parameters
Type | Name | Description |
---|---|---|
aptParser.WordWithPlusContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |