Show / Hide Table of Contents

Class wktBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitCircularStringGeometry(wktParser.CircularStringGeometryContext)

Visit a parse tree produced by circularStringGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCircularStringGeometry(wktParser.CircularStringGeometryContext context)
Parameters
Type Name Description
wktParser.CircularStringGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext)

Visit a parse tree produced by compoundCurveGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext context)
Parameters
Type Name Description
wktParser.CompoundCurveGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext)

Visit a parse tree produced by curvePolygonGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext context)
Parameters
Type Name Description
wktParser.CurvePolygonGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGeometry(wktParser.GeometryContext)

Visit a parse tree produced by geometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGeometry(wktParser.GeometryContext context)
Parameters
Type Name Description
wktParser.GeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGeometryCollection(wktParser.GeometryCollectionContext)

Visit a parse tree produced by geometryCollection().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGeometryCollection(wktParser.GeometryCollectionContext context)
Parameters
Type Name Description
wktParser.GeometryCollectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLineString(wktParser.LineStringContext)

Visit a parse tree produced by lineString().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLineString(wktParser.LineStringContext context)
Parameters
Type Name Description
wktParser.LineStringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLineStringGeometry(wktParser.LineStringGeometryContext)

Visit a parse tree produced by lineStringGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLineStringGeometry(wktParser.LineStringGeometryContext context)
Parameters
Type Name Description
wktParser.LineStringGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiCurveGeometry(wktParser.MultiCurveGeometryContext)

Visit a parse tree produced by multiCurveGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiCurveGeometry(wktParser.MultiCurveGeometryContext context)
Parameters
Type Name Description
wktParser.MultiCurveGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext)

Visit a parse tree produced by multiLineStringGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext context)
Parameters
Type Name Description
wktParser.MultiLineStringGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiPointGeometry(wktParser.MultiPointGeometryContext)

Visit a parse tree produced by multiPointGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiPointGeometry(wktParser.MultiPointGeometryContext context)
Parameters
Type Name Description
wktParser.MultiPointGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext)

Visit a parse tree produced by multiPolygonGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext context)
Parameters
Type Name Description
wktParser.MultiPolygonGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext)

Visit a parse tree produced by multiPolyhedralSurfaceGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext context)
Parameters
Type Name Description
wktParser.MultiPolyhedralSurfaceGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext)

Visit a parse tree produced by multiSurfaceGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext context)
Parameters
Type Name Description
wktParser.MultiSurfaceGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiTinGeometry(wktParser.MultiTinGeometryContext)

Visit a parse tree produced by multiTinGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiTinGeometry(wktParser.MultiTinGeometryContext context)
Parameters
Type Name Description
wktParser.MultiTinGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(wktParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPoint(wktParser.PointContext)

Visit a parse tree produced by point().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPoint(wktParser.PointContext context)
Parameters
Type Name Description
wktParser.PointContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPointGeometry(wktParser.PointGeometryContext)

Visit a parse tree produced by pointGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPointGeometry(wktParser.PointGeometryContext context)
Parameters
Type Name Description
wktParser.PointGeometryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPointOrClosedPoint(wktParser.PointOrClosedPointContext)

Visit a parse tree produced by pointOrClosedPoint().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPointOrClosedPoint(wktParser.PointOrClosedPointContext context)
Parameters
Type Name Description
wktParser.PointOrClosedPointContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPolygon(wktParser.PolygonContext)

Visit a parse tree produced by polygon().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPolygon(wktParser.PolygonContext context)
Parameters
Type Name Description
wktParser.PolygonContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPolygonGeometry(wktParser.PolygonGeometryContext)

Visit a parse tree produced by polygonGeometry().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPolygonGeometry(wktParser.PolygonGeometryContext context)
Parameters
Type Name Description
wktParser.PolygonGeometryContext context

The parse tree.

Returns
Type Description
Result

Implements

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