Show / Hide Table of Contents

Class plyBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitElement(plyParser.ElementContext)

Visit a parse tree produced by element().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElement(plyParser.ElementContext context)
Parameters
Type Name Description
plyParser.ElementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnd_header(plyParser.End_headerContext)

Visit a parse tree produced by end_header().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnd_header(plyParser.End_headerContext context)
Parameters
Type Name Description
plyParser.End_headerContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFace(plyParser.FaceContext)

Visit a parse tree produced by face().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFace(plyParser.FaceContext context)
Parameters
Type Name Description
plyParser.FaceContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFaces(plyParser.FacesContext)

Visit a parse tree produced by faces().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFaces(plyParser.FacesContext context)
Parameters
Type Name Description
plyParser.FacesContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFormat_(plyParser.Format_Context)

Visit a parse tree produced by format_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFormat_(plyParser.Format_Context context)
Parameters
Type Name Description
plyParser.Format_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHeader(plyParser.HeaderContext)

Visit a parse tree produced by header().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitListproperty(plyParser.ListpropertyContext)

Visit a parse tree produced by listproperty().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitListproperty(plyParser.ListpropertyContext context)
Parameters
Type Name Description
plyParser.ListpropertyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumber(plyParser.NumberContext)

Visit a parse tree produced by number().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNumber(plyParser.NumberContext context)
Parameters
Type Name Description
plyParser.NumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPly(plyParser.PlyContext)

Visit a parse tree produced by ply().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPly(plyParser.PlyContext context)
Parameters
Type Name Description
plyParser.PlyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPlydeclaration(plyParser.PlydeclarationContext)

Visit a parse tree produced by plydeclaration().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPlydeclaration(plyParser.PlydeclarationContext context)
Parameters
Type Name Description
plyParser.PlydeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProperty_(plyParser.Property_Context)

Visit a parse tree produced by property_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProperty_(plyParser.Property_Context context)
Parameters
Type Name Description
plyParser.Property_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScalarproperty(plyParser.ScalarpropertyContext)

Visit a parse tree produced by scalarproperty().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitScalarproperty(plyParser.ScalarpropertyContext context)
Parameters
Type Name Description
plyParser.ScalarpropertyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(plyParser.StringContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitType_(plyParser.Type_Context)

Visit a parse tree produced by type_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitType_(plyParser.Type_Context context)
Parameters
Type Name Description
plyParser.Type_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVertex(plyParser.VertexContext)

Visit a parse tree produced by vertex().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVertices(plyParser.VerticesContext)

Visit a parse tree produced by vertices().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVertices(plyParser.VerticesContext context)
Parameters
Type Name Description
plyParser.VerticesContext context

The parse tree.

Returns
Type Description
Result

Implements

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