Show / Hide Table of Contents

Class tracBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitActive(tracParser.ActiveContext)

Visit a parse tree produced by active().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArg(tracParser.ArgContext)

Visit a parse tree produced by arg().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArglist(tracParser.ArglistContext)

Visit a parse tree produced by arglist().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMacro(tracParser.MacroContext)

Visit a parse tree produced by macro().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMacro(tracParser.MacroContext context)
Parameters
Type Name Description
tracParser.MacroContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(tracParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitName(tracParser.NameContext context)
Parameters
Type Name Description
tracParser.NameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNeutral(tracParser.NeutralContext)

Visit a parse tree produced by neutral().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(tracParser.ProgramContext)

Visit a parse tree produced by program().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(tracParser.StringContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result

Implements

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