Show / Hide Table of Contents

Class AbnfBaseVisitor<Result>

This class provides an empty implementation of IAbnfVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
AbnfBaseVisitor<Result>
Implements
IAbnfVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Abnf
Assembly: Abnf.dll
Syntax
public class AbnfBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IAbnfVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAlternation(AbnfParser.AlternationContext)

Visit a parse tree produced by alternation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAlternation(AbnfParser.AlternationContext context)
Parameters
Type Name Description
AbnfParser.AlternationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConcatenation(AbnfParser.ConcatenationContext)

Visit a parse tree produced by concatenation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitConcatenation(AbnfParser.ConcatenationContext context)
Parameters
Type Name Description
AbnfParser.ConcatenationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitElement(AbnfParser.ElementContext)

Visit a parse tree produced by element().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElement(AbnfParser.ElementContext context)
Parameters
Type Name Description
AbnfParser.ElementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitElements(AbnfParser.ElementsContext)

Visit a parse tree produced by elements().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElements(AbnfParser.ElementsContext context)
Parameters
Type Name Description
AbnfParser.ElementsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGroup(AbnfParser.GroupContext)

Visit a parse tree produced by group().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGroup(AbnfParser.GroupContext context)
Parameters
Type Name Description
AbnfParser.GroupContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOption(AbnfParser.OptionContext)

Visit a parse tree produced by option().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOption(AbnfParser.OptionContext context)
Parameters
Type Name Description
AbnfParser.OptionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRepeat_(AbnfParser.Repeat_Context)

Visit a parse tree produced by repeat_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRepeat_(AbnfParser.Repeat_Context context)
Parameters
Type Name Description
AbnfParser.Repeat_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRepetition(AbnfParser.RepetitionContext)

Visit a parse tree produced by repetition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRepetition(AbnfParser.RepetitionContext context)
Parameters
Type Name Description
AbnfParser.RepetitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRule_(AbnfParser.Rule_Context)

Visit a parse tree produced by rule_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRule_(AbnfParser.Rule_Context context)
Parameters
Type Name Description
AbnfParser.Rule_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRulelist(AbnfParser.RulelistContext)

Visit a parse tree produced by rulelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRulelist(AbnfParser.RulelistContext context)
Parameters
Type Name Description
AbnfParser.RulelistContext context

The parse tree.

Returns
Type Description
Result

Implements

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