Show / Hide Table of Contents

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
System.Object
aptBaseVisitor<Result>
Implements
IaptVisitor<Result>
IParseTreeVisitor<Result>
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 Source

VisitAdditionalOption(aptParser.AdditionalOptionContext)

Visit a parse tree produced by additionalOption().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAdditionalOption(aptParser.AdditionalOptionContext context)
Parameters
Type Name Description
aptParser.AdditionalOptionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAdditionalOptions(aptParser.AdditionalOptionsContext)

Visit a parse tree produced by additionalOptions().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAdditionalOptions(aptParser.AdditionalOptionsContext context)
Parameters
Type Name Description
aptParser.AdditionalOptionsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCdromURI(aptParser.CdromURIContext)

Visit a parse tree produced by cdromURI().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCdromURI(aptParser.CdromURIContext context)
Parameters
Type Name Description
aptParser.CdromURIContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCommenterR(aptParser.CommenterRContext)

Visit a parse tree produced by commenterR().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCommenterR(aptParser.CommenterRContext context)
Parameters
Type Name Description
aptParser.CommenterRContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitComponent(aptParser.ComponentContext)

Visit a parse tree produced by component().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitComponent(aptParser.ComponentContext context)
Parameters
Type Name Description
aptParser.ComponentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitComponentsR(aptParser.ComponentsRContext)

Visit a parse tree produced by componentsR().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitComponentsR(aptParser.ComponentsRContext context)
Parameters
Type Name Description
aptParser.ComponentsRContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDoubleTickEnclosedString(aptParser.DoubleTickEnclosedStringContext)

Visit a parse tree produced by doubleTickEnclosedString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDoubleTickEnclosedString(aptParser.DoubleTickEnclosedStringContext context)
Parameters
Type Name Description
aptParser.DoubleTickEnclosedStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnclosedString(aptParser.EnclosedStringContext)

Visit a parse tree produced by enclosedString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnclosedString(aptParser.EnclosedStringContext context)
Parameters
Type Name Description
aptParser.EnclosedStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGenericURI(aptParser.GenericURIContext)

Visit a parse tree produced by genericURI().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGenericURI(aptParser.GenericURIContext context)
Parameters
Type Name Description
aptParser.GenericURIContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNonSpaceString(aptParser.NonSpaceStringContext)

Visit a parse tree produced by nonSpaceString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNonSpaceString(aptParser.NonSpaceStringContext context)
Parameters
Type Name Description
aptParser.NonSpaceStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNonSpaceStringSegment(aptParser.NonSpaceStringSegmentContext)

Visit a parse tree produced by nonSpaceStringSegment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNonSpaceStringSegment(aptParser.NonSpaceStringSegmentContext context)
Parameters
Type Name Description
aptParser.NonSpaceStringSegmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNonSquareBracketString(aptParser.NonSquareBracketStringContext)

Visit a parse tree produced by nonSquareBracketString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNonSquareBracketString(aptParser.NonSquareBracketStringContext context)
Parameters
Type Name Description
aptParser.NonSquareBracketStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNonSquareBracketStringSegment(aptParser.NonSquareBracketStringSegmentContext)

Visit a parse tree produced by nonSquareBracketStringSegment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNonSquareBracketStringSegment(aptParser.NonSquareBracketStringSegmentContext context)
Parameters
Type Name Description
aptParser.NonSquareBracketStringSegmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOptionR(aptParser.OptionRContext)

Visit a parse tree produced by optionR().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOptionR(aptParser.OptionRContext context)
Parameters
Type Name Description
aptParser.OptionRContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOptionsList(aptParser.OptionsListContext)

Visit a parse tree produced by optionsList().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOptionsList(aptParser.OptionsListContext context)
Parameters
Type Name Description
aptParser.OptionsListContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOptionsR(aptParser.OptionsRContext)

Visit a parse tree produced by optionsR().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOptionsR(aptParser.OptionsRContext context)
Parameters
Type Name Description
aptParser.OptionsRContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOptionValue(aptParser.OptionValueContext)

Visit a parse tree produced by optionValue().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOptionValue(aptParser.OptionValueContext context)
Parameters
Type Name Description
aptParser.OptionValueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOptionValueSegment(aptParser.OptionValueSegmentContext)

Visit a parse tree produced by optionValueSegment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOptionValueSegment(aptParser.OptionValueSegmentContext context)
Parameters
Type Name Description
aptParser.OptionValueSegmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRecord(aptParser.RecordContext)

Visit a parse tree produced by record().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRecord(aptParser.RecordContext context)
Parameters
Type Name Description
aptParser.RecordContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRestSchemaWords(aptParser.RestSchemaWordsContext)

Visit a parse tree produced by restSchemaWords().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRestSchemaWords(aptParser.RestSchemaWordsContext context)
Parameters
Type Name Description
aptParser.RestSchemaWordsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSingleTickEnclosedString(aptParser.SingleTickEnclosedStringContext)

Visit a parse tree produced by singleTickEnclosedString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSingleTickEnclosedString(aptParser.SingleTickEnclosedStringContext context)
Parameters
Type Name Description
aptParser.SingleTickEnclosedStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTickEnclosedString(aptParser.TickEnclosedStringContext)

Visit a parse tree produced by tickEnclosedString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTickEnclosedString(aptParser.TickEnclosedStringContext context)
Parameters
Type Name Description
aptParser.TickEnclosedStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUriR(aptParser.UriRContext)

Visit a parse tree produced by uriR().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUriR(aptParser.UriRContext context)
Parameters
Type Name Description
aptParser.UriRContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUriSchema(aptParser.UriSchemaContext)

Visit a parse tree produced by uriSchema().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUriSchema(aptParser.UriSchemaContext context)
Parameters
Type Name Description
aptParser.UriSchemaContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWordWithDash(aptParser.WordWithDashContext)

Visit a parse tree produced by wordWithDash().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWordWithDash(aptParser.WordWithDashContext context)
Parameters
Type Name Description
aptParser.WordWithDashContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWordWithDashSegment(aptParser.WordWithDashSegmentContext)

Visit a parse tree produced by wordWithDashSegment().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWordWithDashSegment(aptParser.WordWithDashSegmentContext context)
Parameters
Type Name Description
aptParser.WordWithDashSegmentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWordWithPlus(aptParser.WordWithPlusContext)

Visit a parse tree produced by wordWithPlus().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWordWithPlus(aptParser.WordWithPlusContext context)
Parameters
Type Name Description
aptParser.WordWithPlusContext context

The parse tree.

Returns
Type Description
Result

Implements

IaptVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX