Interface IAbnfVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by AbnfParser.
Namespace: GCore.Antlr.Grammers.Abnf
Assembly: Abnf.dll
Syntax
public interface IAbnfVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAlternation(AbnfParser.AlternationContext)
Visit a parse tree produced by alternation().
Declaration
Result VisitAlternation(AbnfParser.AlternationContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.AlternationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConcatenation(AbnfParser.ConcatenationContext)
Visit a parse tree produced by concatenation().
Declaration
Result VisitConcatenation(AbnfParser.ConcatenationContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.ConcatenationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElement(AbnfParser.ElementContext)
Visit a parse tree produced by element().
Declaration
Result VisitElement(AbnfParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.ElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElements(AbnfParser.ElementsContext)
Visit a parse tree produced by elements().
Declaration
Result VisitElements(AbnfParser.ElementsContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.ElementsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGroup(AbnfParser.GroupContext)
Visit a parse tree produced by group().
Declaration
Result VisitGroup(AbnfParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.GroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOption(AbnfParser.OptionContext)
Visit a parse tree produced by option().
Declaration
Result VisitOption(AbnfParser.OptionContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.OptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRepeat_(AbnfParser.Repeat_Context)
Visit a parse tree produced by repeat_().
Declaration
Result VisitRepeat_(AbnfParser.Repeat_Context context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.Repeat_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRepetition(AbnfParser.RepetitionContext)
Visit a parse tree produced by repetition().
Declaration
Result VisitRepetition(AbnfParser.RepetitionContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.RepetitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRule_(AbnfParser.Rule_Context)
Visit a parse tree produced by rule_().
Declaration
Result VisitRule_(AbnfParser.Rule_Context context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.Rule_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRulelist(AbnfParser.RulelistContext)
Visit a parse tree produced by rulelist().
Declaration
Result VisitRulelist(AbnfParser.RulelistContext context)
Parameters
Type | Name | Description |
---|---|---|
AbnfParser.RulelistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |