Show / Hide Table of Contents

Class ttmBaseVisitor<Result>

This class provides an empty implementation of IttmVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
ttmBaseVisitor<Result>
Implements
IttmVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Ttm
Assembly: Ttm.dll
Syntax
public class ttmBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IttmVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitActive(ttmParser.ActiveContext)

Visit a parse tree produced by active().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitActive(ttmParser.ActiveContext context)
Parameters
Type Name Description
ttmParser.ActiveContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArg(ttmParser.ArgContext)

Visit a parse tree produced by arg().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArg(ttmParser.ArgContext context)
Parameters
Type Name Description
ttmParser.ArgContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArglist(ttmParser.ArglistContext)

Visit a parse tree produced by arglist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArglist(ttmParser.ArglistContext context)
Parameters
Type Name Description
ttmParser.ArglistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunction_(ttmParser.Function_Context)

Visit a parse tree produced by function_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunction_(ttmParser.Function_Context context)
Parameters
Type Name Description
ttmParser.Function_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctionname(ttmParser.FunctionnameContext)

Visit a parse tree produced by functionname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctionname(ttmParser.FunctionnameContext context)
Parameters
Type Name Description
ttmParser.FunctionnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNeutral(ttmParser.NeutralContext)

Visit a parse tree produced by neutral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNeutral(ttmParser.NeutralContext context)
Parameters
Type Name Description
ttmParser.NeutralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(ttmParser.ProgramContext)

Visit a parse tree produced by program().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProgram(ttmParser.ProgramContext context)
Parameters
Type Name Description
ttmParser.ProgramContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(ttmParser.StringContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitString(ttmParser.StringContext context)
Parameters
Type Name Description
ttmParser.StringContext context

The parse tree.

Returns
Type Description
Result

Implements

IttmVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX