Show / Hide Table of Contents

Class STLBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitFile_(STLParser.File_Context)

Visit a parse tree produced by file_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFile_(STLParser.File_Context context)
Parameters
Type Name Description
STLParser.File_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFooter(STLParser.FooterContext)

Visit a parse tree produced by footer().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFooter(STLParser.FooterContext context)
Parameters
Type Name Description
STLParser.FooterContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHeader(STLParser.HeaderContext)

Visit a parse tree produced by header().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitHeader(STLParser.HeaderContext context)
Parameters
Type Name Description
STLParser.HeaderContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTriangle(STLParser.TriangleContext)

Visit a parse tree produced by triangle().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTriangle(STLParser.TriangleContext context)
Parameters
Type Name Description
STLParser.TriangleContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTriple(STLParser.TripleContext)

Visit a parse tree produced by triple().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTriple(STLParser.TripleContext context)
Parameters
Type Name Description
STLParser.TripleContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVertex(STLParser.VertexContext)

Visit a parse tree produced by vertex().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVertex(STLParser.VertexContext context)
Parameters
Type Name Description
STLParser.VertexContext context

The parse tree.

Returns
Type Description
Result

Implements

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