Show / Hide Table of Contents

Class tracBaseListener

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

Inheritance
System.Object
tracBaseListener
Implements
ItracListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Trac
Assembly: Trac.dll
Syntax
public class tracBaseListener : object, ItracListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterActive(tracParser.ActiveContext)

Enter a parse tree produced by active().

The default implementation does nothing.

Declaration
public virtual void EnterActive(tracParser.ActiveContext context)
Parameters
Type Name Description
tracParser.ActiveContext context

The parse tree.

| Improve this Doc View Source

EnterArg(tracParser.ArgContext)

Enter a parse tree produced by arg().

The default implementation does nothing.

Declaration
public virtual void EnterArg(tracParser.ArgContext context)
Parameters
Type Name Description
tracParser.ArgContext context

The parse tree.

| Improve this Doc View Source

EnterArglist(tracParser.ArglistContext)

Enter a parse tree produced by arglist().

The default implementation does nothing.

Declaration
public virtual void EnterArglist(tracParser.ArglistContext context)
Parameters
Type Name Description
tracParser.ArglistContext 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

EnterMacro(tracParser.MacroContext)

Enter a parse tree produced by macro().

The default implementation does nothing.

Declaration
public virtual void EnterMacro(tracParser.MacroContext context)
Parameters
Type Name Description
tracParser.MacroContext context

The parse tree.

| Improve this Doc View Source

EnterName(tracParser.NameContext)

Enter a parse tree produced by name().

The default implementation does nothing.

Declaration
public virtual void EnterName(tracParser.NameContext context)
Parameters
Type Name Description
tracParser.NameContext context

The parse tree.

| Improve this Doc View Source

EnterNeutral(tracParser.NeutralContext)

Enter a parse tree produced by neutral().

The default implementation does nothing.

Declaration
public virtual void EnterNeutral(tracParser.NeutralContext context)
Parameters
Type Name Description
tracParser.NeutralContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(tracParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void EnterProgram(tracParser.ProgramContext context)
Parameters
Type Name Description
tracParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

EnterString(tracParser.StringContext)

Enter a parse tree produced by .

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitActive(tracParser.ActiveContext)

Exit a parse tree produced by active().

The default implementation does nothing.

Declaration
public virtual void ExitActive(tracParser.ActiveContext context)
Parameters
Type Name Description
tracParser.ActiveContext context

The parse tree.

| Improve this Doc View Source

ExitArg(tracParser.ArgContext)

Exit a parse tree produced by arg().

The default implementation does nothing.

Declaration
public virtual void ExitArg(tracParser.ArgContext context)
Parameters
Type Name Description
tracParser.ArgContext context

The parse tree.

| Improve this Doc View Source

ExitArglist(tracParser.ArglistContext)

Exit a parse tree produced by arglist().

The default implementation does nothing.

Declaration
public virtual void ExitArglist(tracParser.ArglistContext context)
Parameters
Type Name Description
tracParser.ArglistContext 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

ExitMacro(tracParser.MacroContext)

Exit a parse tree produced by macro().

The default implementation does nothing.

Declaration
public virtual void ExitMacro(tracParser.MacroContext context)
Parameters
Type Name Description
tracParser.MacroContext context

The parse tree.

| Improve this Doc View Source

ExitName(tracParser.NameContext)

Exit a parse tree produced by name().

The default implementation does nothing.

Declaration
public virtual void ExitName(tracParser.NameContext context)
Parameters
Type Name Description
tracParser.NameContext context

The parse tree.

| Improve this Doc View Source

ExitNeutral(tracParser.NeutralContext)

Exit a parse tree produced by neutral().

The default implementation does nothing.

Declaration
public virtual void ExitNeutral(tracParser.NeutralContext context)
Parameters
Type Name Description
tracParser.NeutralContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(tracParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void ExitProgram(tracParser.ProgramContext context)
Parameters
Type Name Description
tracParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

ExitString(tracParser.StringContext)

Exit a parse tree produced by .

The default implementation does nothing.

Declaration
public virtual void ExitString(tracParser.StringContext context)
Parameters
Type Name Description
tracParser.StringContext 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

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