Show / Hide Table of Contents

Class ttmBaseListener

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

Inheritance
System.Object
ttmBaseListener
Implements
IttmListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Ttm
Assembly: Ttm.dll
Syntax
public class ttmBaseListener : object, IttmListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterActive(ttmParser.ActiveContext)

Enter a parse tree produced by active().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterArg(ttmParser.ArgContext)

Enter a parse tree produced by arg().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterArglist(ttmParser.ArglistContext)

Enter a parse tree produced by arglist().

The default implementation does nothing.

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

EnterFunction_(ttmParser.Function_Context)

Enter a parse tree produced by function_().

The default implementation does nothing.

Declaration
public virtual void EnterFunction_(ttmParser.Function_Context context)
Parameters
Type Name Description
ttmParser.Function_Context context

The parse tree.

| Improve this Doc View Source

EnterFunctionname(ttmParser.FunctionnameContext)

Enter a parse tree produced by functionname().

The default implementation does nothing.

Declaration
public virtual void EnterFunctionname(ttmParser.FunctionnameContext context)
Parameters
Type Name Description
ttmParser.FunctionnameContext context

The parse tree.

| Improve this Doc View Source

EnterNeutral(ttmParser.NeutralContext)

Enter a parse tree produced by neutral().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterProgram(ttmParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterString(ttmParser.StringContext)

Enter a parse tree produced by .

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitActive(ttmParser.ActiveContext)

Exit a parse tree produced by active().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitArg(ttmParser.ArgContext)

Exit a parse tree produced by arg().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitArglist(ttmParser.ArglistContext)

Exit a parse tree produced by arglist().

The default implementation does nothing.

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

ExitFunction_(ttmParser.Function_Context)

Exit a parse tree produced by function_().

The default implementation does nothing.

Declaration
public virtual void ExitFunction_(ttmParser.Function_Context context)
Parameters
Type Name Description
ttmParser.Function_Context context

The parse tree.

| Improve this Doc View Source

ExitFunctionname(ttmParser.FunctionnameContext)

Exit a parse tree produced by functionname().

The default implementation does nothing.

Declaration
public virtual void ExitFunctionname(ttmParser.FunctionnameContext context)
Parameters
Type Name Description
ttmParser.FunctionnameContext context

The parse tree.

| Improve this Doc View Source

ExitNeutral(ttmParser.NeutralContext)

Exit a parse tree produced by neutral().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitProgram(ttmParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitString(ttmParser.StringContext)

Exit a parse tree produced by .

The default implementation does nothing.

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

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