Show / Hide Table of Contents

Class AbnfBaseListener

This class provides an empty implementation of IAbnfListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
AbnfBaseListener
Implements
IAbnfListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Abnf
Assembly: Abnf.dll
Syntax
public class AbnfBaseListener : object, IAbnfListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAlternation(AbnfParser.AlternationContext)

Enter a parse tree produced by alternation().

The default implementation does nothing.

Declaration
public virtual void EnterAlternation(AbnfParser.AlternationContext context)
Parameters
Type Name Description
AbnfParser.AlternationContext context

The parse tree.

| Improve this Doc View Source

EnterConcatenation(AbnfParser.ConcatenationContext)

Enter a parse tree produced by concatenation().

The default implementation does nothing.

Declaration
public virtual void EnterConcatenation(AbnfParser.ConcatenationContext context)
Parameters
Type Name Description
AbnfParser.ConcatenationContext context

The parse tree.

| Improve this Doc View Source

EnterElement(AbnfParser.ElementContext)

Enter a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void EnterElement(AbnfParser.ElementContext context)
Parameters
Type Name Description
AbnfParser.ElementContext context

The parse tree.

| Improve this Doc View Source

EnterElements(AbnfParser.ElementsContext)

Enter a parse tree produced by elements().

The default implementation does nothing.

Declaration
public virtual void EnterElements(AbnfParser.ElementsContext context)
Parameters
Type Name Description
AbnfParser.ElementsContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterGroup(AbnfParser.GroupContext)

Enter a parse tree produced by group().

The default implementation does nothing.

Declaration
public virtual void EnterGroup(AbnfParser.GroupContext context)
Parameters
Type Name Description
AbnfParser.GroupContext context

The parse tree.

| Improve this Doc View Source

EnterOption(AbnfParser.OptionContext)

Enter a parse tree produced by option().

The default implementation does nothing.

Declaration
public virtual void EnterOption(AbnfParser.OptionContext context)
Parameters
Type Name Description
AbnfParser.OptionContext context

The parse tree.

| Improve this Doc View Source

EnterRepeat_(AbnfParser.Repeat_Context)

Enter a parse tree produced by repeat_().

The default implementation does nothing.

Declaration
public virtual void EnterRepeat_(AbnfParser.Repeat_Context context)
Parameters
Type Name Description
AbnfParser.Repeat_Context context

The parse tree.

| Improve this Doc View Source

EnterRepetition(AbnfParser.RepetitionContext)

Enter a parse tree produced by repetition().

The default implementation does nothing.

Declaration
public virtual void EnterRepetition(AbnfParser.RepetitionContext context)
Parameters
Type Name Description
AbnfParser.RepetitionContext context

The parse tree.

| Improve this Doc View Source

EnterRule_(AbnfParser.Rule_Context)

Enter a parse tree produced by rule_().

The default implementation does nothing.

Declaration
public virtual void EnterRule_(AbnfParser.Rule_Context context)
Parameters
Type Name Description
AbnfParser.Rule_Context context

The parse tree.

| Improve this Doc View Source

EnterRulelist(AbnfParser.RulelistContext)

Enter a parse tree produced by rulelist().

The default implementation does nothing.

Declaration
public virtual void EnterRulelist(AbnfParser.RulelistContext context)
Parameters
Type Name Description
AbnfParser.RulelistContext context

The parse tree.

| Improve this Doc View Source

ExitAlternation(AbnfParser.AlternationContext)

Exit a parse tree produced by alternation().

The default implementation does nothing.

Declaration
public virtual void ExitAlternation(AbnfParser.AlternationContext context)
Parameters
Type Name Description
AbnfParser.AlternationContext context

The parse tree.

| Improve this Doc View Source

ExitConcatenation(AbnfParser.ConcatenationContext)

Exit a parse tree produced by concatenation().

The default implementation does nothing.

Declaration
public virtual void ExitConcatenation(AbnfParser.ConcatenationContext context)
Parameters
Type Name Description
AbnfParser.ConcatenationContext context

The parse tree.

| Improve this Doc View Source

ExitElement(AbnfParser.ElementContext)

Exit a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void ExitElement(AbnfParser.ElementContext context)
Parameters
Type Name Description
AbnfParser.ElementContext context

The parse tree.

| Improve this Doc View Source

ExitElements(AbnfParser.ElementsContext)

Exit a parse tree produced by elements().

The default implementation does nothing.

Declaration
public virtual void ExitElements(AbnfParser.ElementsContext context)
Parameters
Type Name Description
AbnfParser.ElementsContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitGroup(AbnfParser.GroupContext)

Exit a parse tree produced by group().

The default implementation does nothing.

Declaration
public virtual void ExitGroup(AbnfParser.GroupContext context)
Parameters
Type Name Description
AbnfParser.GroupContext context

The parse tree.

| Improve this Doc View Source

ExitOption(AbnfParser.OptionContext)

Exit a parse tree produced by option().

The default implementation does nothing.

Declaration
public virtual void ExitOption(AbnfParser.OptionContext context)
Parameters
Type Name Description
AbnfParser.OptionContext context

The parse tree.

| Improve this Doc View Source

ExitRepeat_(AbnfParser.Repeat_Context)

Exit a parse tree produced by repeat_().

The default implementation does nothing.

Declaration
public virtual void ExitRepeat_(AbnfParser.Repeat_Context context)
Parameters
Type Name Description
AbnfParser.Repeat_Context context

The parse tree.

| Improve this Doc View Source

ExitRepetition(AbnfParser.RepetitionContext)

Exit a parse tree produced by repetition().

The default implementation does nothing.

Declaration
public virtual void ExitRepetition(AbnfParser.RepetitionContext context)
Parameters
Type Name Description
AbnfParser.RepetitionContext context

The parse tree.

| Improve this Doc View Source

ExitRule_(AbnfParser.Rule_Context)

Exit a parse tree produced by rule_().

The default implementation does nothing.

Declaration
public virtual void ExitRule_(AbnfParser.Rule_Context context)
Parameters
Type Name Description
AbnfParser.Rule_Context context

The parse tree.

| Improve this Doc View Source

ExitRulelist(AbnfParser.RulelistContext)

Exit a parse tree produced by rulelist().

The default implementation does nothing.

Declaration
public virtual void ExitRulelist(AbnfParser.RulelistContext context)
Parameters
Type Name Description
AbnfParser.RulelistContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

IAbnfListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX