Show / Hide Table of Contents

Class infBaseListener

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

Inheritance
System.Object
infBaseListener
Implements
IinfListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Inf
Assembly: Inf.dll
Syntax
public class infBaseListener : object, IinfListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| 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

EnterInf(infParser.InfContext)

Enter a parse tree produced by inf().

The default implementation does nothing.

Declaration
public virtual void EnterInf(infParser.InfContext context)
Parameters
Type Name Description
infParser.InfContext context

The parse tree.

| Improve this Doc View Source

EnterLine(infParser.LineContext)

Enter a parse tree produced by line().

The default implementation does nothing.

Declaration
public virtual void EnterLine(infParser.LineContext context)
Parameters
Type Name Description
infParser.LineContext context

The parse tree.

| Improve this Doc View Source

EnterSection(infParser.SectionContext)

Enter a parse tree produced by section().

The default implementation does nothing.

Declaration
public virtual void EnterSection(infParser.SectionContext context)
Parameters
Type Name Description
infParser.SectionContext context

The parse tree.

| Improve this Doc View Source

EnterSectionheader(infParser.SectionheaderContext)

Enter a parse tree produced by sectionheader().

The default implementation does nothing.

Declaration
public virtual void EnterSectionheader(infParser.SectionheaderContext context)
Parameters
Type Name Description
infParser.SectionheaderContext context

The parse tree.

| Improve this Doc View Source

EnterString(infParser.StringContext)

Enter a parse tree produced by .

The default implementation does nothing.

Declaration
public virtual void EnterString(infParser.StringContext context)
Parameters
Type Name Description
infParser.StringContext context

The parse tree.

| Improve this Doc View Source

EnterStringlist(infParser.StringlistContext)

Enter a parse tree produced by stringlist().

The default implementation does nothing.

Declaration
public virtual void EnterStringlist(infParser.StringlistContext context)
Parameters
Type Name Description
infParser.StringlistContext 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

ExitInf(infParser.InfContext)

Exit a parse tree produced by inf().

The default implementation does nothing.

Declaration
public virtual void ExitInf(infParser.InfContext context)
Parameters
Type Name Description
infParser.InfContext context

The parse tree.

| Improve this Doc View Source

ExitLine(infParser.LineContext)

Exit a parse tree produced by line().

The default implementation does nothing.

Declaration
public virtual void ExitLine(infParser.LineContext context)
Parameters
Type Name Description
infParser.LineContext context

The parse tree.

| Improve this Doc View Source

ExitSection(infParser.SectionContext)

Exit a parse tree produced by section().

The default implementation does nothing.

Declaration
public virtual void ExitSection(infParser.SectionContext context)
Parameters
Type Name Description
infParser.SectionContext context

The parse tree.

| Improve this Doc View Source

ExitSectionheader(infParser.SectionheaderContext)

Exit a parse tree produced by sectionheader().

The default implementation does nothing.

Declaration
public virtual void ExitSectionheader(infParser.SectionheaderContext context)
Parameters
Type Name Description
infParser.SectionheaderContext context

The parse tree.

| Improve this Doc View Source

ExitString(infParser.StringContext)

Exit a parse tree produced by .

The default implementation does nothing.

Declaration
public virtual void ExitString(infParser.StringContext context)
Parameters
Type Name Description
infParser.StringContext context

The parse tree.

| Improve this Doc View Source

ExitStringlist(infParser.StringlistContext)

Exit a parse tree produced by stringlist().

The default implementation does nothing.

Declaration
public virtual void ExitStringlist(infParser.StringlistContext context)
Parameters
Type Name Description
infParser.StringlistContext 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

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