Show / Hide Table of Contents

Class infBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitInf(infParser.InfContext)

Visit a parse tree produced by inf().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInf(infParser.InfContext context)
Parameters
Type Name Description
infParser.InfContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLine(infParser.LineContext)

Visit a parse tree produced by line().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLine(infParser.LineContext context)
Parameters
Type Name Description
infParser.LineContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSection(infParser.SectionContext)

Visit a parse tree produced by section().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSection(infParser.SectionContext context)
Parameters
Type Name Description
infParser.SectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSectionheader(infParser.SectionheaderContext)

Visit a parse tree produced by sectionheader().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSectionheader(infParser.SectionheaderContext context)
Parameters
Type Name Description
infParser.SectionheaderContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(infParser.StringContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStringlist(infParser.StringlistContext)

Visit a parse tree produced by stringlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStringlist(infParser.StringlistContext context)
Parameters
Type Name Description
infParser.StringlistContext context

The parse tree.

Returns
Type Description
Result

Implements

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