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
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 SourceVisitCircularStringGeometry(wktParser.CircularStringGeometryContext)
Visit a parse tree produced by circularStringGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCircularStringGeometry(wktParser.CircularStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CircularStringGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext)
Visit a parse tree produced by compoundCurveGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CompoundCurveGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext)
Visit a parse tree produced by curvePolygonGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CurvePolygonGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGeometry(wktParser.GeometryContext)
Visit a parse tree produced by geometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGeometry(wktParser.GeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGeometryCollection(wktParser.GeometryCollectionContext)
Visit a parse tree produced by geometryCollection().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGeometryCollection(wktParser.GeometryCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryCollectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineString(wktParser.LineStringContext)
Visit a parse tree produced by lineString().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLineString(wktParser.LineStringContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineStringGeometry(wktParser.LineStringGeometryContext)
Visit a parse tree produced by lineStringGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLineStringGeometry(wktParser.LineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiCurveGeometry(wktParser.MultiCurveGeometryContext)
Visit a parse tree produced by multiCurveGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiCurveGeometry(wktParser.MultiCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiCurveGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext)
Visit a parse tree produced by multiLineStringGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiLineStringGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiPointGeometry(wktParser.MultiPointGeometryContext)
Visit a parse tree produced by multiPointGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiPointGeometry(wktParser.MultiPointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPointGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext)
Visit a parse tree produced by multiPolygonGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolygonGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext)
Visit a parse tree produced by multiPolyhedralSurfaceGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolyhedralSurfaceGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext)
Visit a parse tree produced by multiSurfaceGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiSurfaceGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiTinGeometry(wktParser.MultiTinGeometryContext)
Visit a parse tree produced by multiTinGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMultiTinGeometry(wktParser.MultiTinGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiTinGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(wktParser.NameContext)
Visit a parse tree produced by name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitName(wktParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPoint(wktParser.PointContext)
Visit a parse tree produced by point().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPoint(wktParser.PointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPointGeometry(wktParser.PointGeometryContext)
Visit a parse tree produced by pointGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPointGeometry(wktParser.PointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPointOrClosedPoint(wktParser.PointOrClosedPointContext)
Visit a parse tree produced by pointOrClosedPoint().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPointOrClosedPoint(wktParser.PointOrClosedPointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointOrClosedPointContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPolygon(wktParser.PolygonContext)
Visit a parse tree produced by polygon().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPolygon(wktParser.PolygonContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPolygonGeometry(wktParser.PolygonGeometryContext)
Visit a parse tree produced by polygonGeometry().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPolygonGeometry(wktParser.PolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonGeometryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |