Class wktBaseListener
This class provides an empty implementation of IwktListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Wkt
Assembly: Wkt.dll
Syntax
public class wktBaseListener : object, IwktListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterCircularStringGeometry(wktParser.CircularStringGeometryContext)
Enter a parse tree produced by circularStringGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterCircularStringGeometry(wktParser.CircularStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CircularStringGeometryContext | context | The parse tree. |
EnterCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext)
Enter a parse tree produced by compoundCurveGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CompoundCurveGeometryContext | context | The parse tree. |
EnterCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext)
Enter a parse tree produced by curvePolygonGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CurvePolygonGeometryContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterGeometry(wktParser.GeometryContext)
Enter a parse tree produced by geometry().
The default implementation does nothing.
Declaration
public virtual void EnterGeometry(wktParser.GeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryContext | context | The parse tree. |
EnterGeometryCollection(wktParser.GeometryCollectionContext)
Enter a parse tree produced by geometryCollection().
The default implementation does nothing.
Declaration
public virtual void EnterGeometryCollection(wktParser.GeometryCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryCollectionContext | context | The parse tree. |
EnterLineString(wktParser.LineStringContext)
Enter a parse tree produced by lineString().
The default implementation does nothing.
Declaration
public virtual void EnterLineString(wktParser.LineStringContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringContext | context | The parse tree. |
EnterLineStringGeometry(wktParser.LineStringGeometryContext)
Enter a parse tree produced by lineStringGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterLineStringGeometry(wktParser.LineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringGeometryContext | context | The parse tree. |
EnterMultiCurveGeometry(wktParser.MultiCurveGeometryContext)
Enter a parse tree produced by multiCurveGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiCurveGeometry(wktParser.MultiCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiCurveGeometryContext | context | The parse tree. |
EnterMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext)
Enter a parse tree produced by multiLineStringGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiLineStringGeometryContext | context | The parse tree. |
EnterMultiPointGeometry(wktParser.MultiPointGeometryContext)
Enter a parse tree produced by multiPointGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiPointGeometry(wktParser.MultiPointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPointGeometryContext | context | The parse tree. |
EnterMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext)
Enter a parse tree produced by multiPolygonGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolygonGeometryContext | context | The parse tree. |
EnterMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext)
Enter a parse tree produced by multiPolyhedralSurfaceGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolyhedralSurfaceGeometryContext | context | The parse tree. |
EnterMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext)
Enter a parse tree produced by multiSurfaceGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiSurfaceGeometryContext | context | The parse tree. |
EnterMultiTinGeometry(wktParser.MultiTinGeometryContext)
Enter a parse tree produced by multiTinGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterMultiTinGeometry(wktParser.MultiTinGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiTinGeometryContext | context | The parse tree. |
EnterName(wktParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(wktParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.NameContext | context | The parse tree. |
EnterPoint(wktParser.PointContext)
Enter a parse tree produced by point().
The default implementation does nothing.
Declaration
public virtual void EnterPoint(wktParser.PointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointContext | context | The parse tree. |
EnterPointGeometry(wktParser.PointGeometryContext)
Enter a parse tree produced by pointGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterPointGeometry(wktParser.PointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointGeometryContext | context | The parse tree. |
EnterPointOrClosedPoint(wktParser.PointOrClosedPointContext)
Enter a parse tree produced by pointOrClosedPoint().
The default implementation does nothing.
Declaration
public virtual void EnterPointOrClosedPoint(wktParser.PointOrClosedPointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointOrClosedPointContext | context | The parse tree. |
EnterPolygon(wktParser.PolygonContext)
Enter a parse tree produced by polygon().
The default implementation does nothing.
Declaration
public virtual void EnterPolygon(wktParser.PolygonContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonContext | context | The parse tree. |
EnterPolygonGeometry(wktParser.PolygonGeometryContext)
Enter a parse tree produced by polygonGeometry().
The default implementation does nothing.
Declaration
public virtual void EnterPolygonGeometry(wktParser.PolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonGeometryContext | context | The parse tree. |
ExitCircularStringGeometry(wktParser.CircularStringGeometryContext)
Exit a parse tree produced by circularStringGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitCircularStringGeometry(wktParser.CircularStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CircularStringGeometryContext | context | The parse tree. |
ExitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext)
Exit a parse tree produced by compoundCurveGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitCompoundCurveGeometry(wktParser.CompoundCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CompoundCurveGeometryContext | context | The parse tree. |
ExitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext)
Exit a parse tree produced by curvePolygonGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitCurvePolygonGeometry(wktParser.CurvePolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.CurvePolygonGeometryContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitGeometry(wktParser.GeometryContext)
Exit a parse tree produced by geometry().
The default implementation does nothing.
Declaration
public virtual void ExitGeometry(wktParser.GeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryContext | context | The parse tree. |
ExitGeometryCollection(wktParser.GeometryCollectionContext)
Exit a parse tree produced by geometryCollection().
The default implementation does nothing.
Declaration
public virtual void ExitGeometryCollection(wktParser.GeometryCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.GeometryCollectionContext | context | The parse tree. |
ExitLineString(wktParser.LineStringContext)
Exit a parse tree produced by lineString().
The default implementation does nothing.
Declaration
public virtual void ExitLineString(wktParser.LineStringContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringContext | context | The parse tree. |
ExitLineStringGeometry(wktParser.LineStringGeometryContext)
Exit a parse tree produced by lineStringGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitLineStringGeometry(wktParser.LineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.LineStringGeometryContext | context | The parse tree. |
ExitMultiCurveGeometry(wktParser.MultiCurveGeometryContext)
Exit a parse tree produced by multiCurveGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiCurveGeometry(wktParser.MultiCurveGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiCurveGeometryContext | context | The parse tree. |
ExitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext)
Exit a parse tree produced by multiLineStringGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiLineStringGeometry(wktParser.MultiLineStringGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiLineStringGeometryContext | context | The parse tree. |
ExitMultiPointGeometry(wktParser.MultiPointGeometryContext)
Exit a parse tree produced by multiPointGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiPointGeometry(wktParser.MultiPointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPointGeometryContext | context | The parse tree. |
ExitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext)
Exit a parse tree produced by multiPolygonGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiPolygonGeometry(wktParser.MultiPolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolygonGeometryContext | context | The parse tree. |
ExitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext)
Exit a parse tree produced by multiPolyhedralSurfaceGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiPolyhedralSurfaceGeometry(wktParser.MultiPolyhedralSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiPolyhedralSurfaceGeometryContext | context | The parse tree. |
ExitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext)
Exit a parse tree produced by multiSurfaceGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiSurfaceGeometry(wktParser.MultiSurfaceGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiSurfaceGeometryContext | context | The parse tree. |
ExitMultiTinGeometry(wktParser.MultiTinGeometryContext)
Exit a parse tree produced by multiTinGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitMultiTinGeometry(wktParser.MultiTinGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.MultiTinGeometryContext | context | The parse tree. |
ExitName(wktParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(wktParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.NameContext | context | The parse tree. |
ExitPoint(wktParser.PointContext)
Exit a parse tree produced by point().
The default implementation does nothing.
Declaration
public virtual void ExitPoint(wktParser.PointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointContext | context | The parse tree. |
ExitPointGeometry(wktParser.PointGeometryContext)
Exit a parse tree produced by pointGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitPointGeometry(wktParser.PointGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointGeometryContext | context | The parse tree. |
ExitPointOrClosedPoint(wktParser.PointOrClosedPointContext)
Exit a parse tree produced by pointOrClosedPoint().
The default implementation does nothing.
Declaration
public virtual void ExitPointOrClosedPoint(wktParser.PointOrClosedPointContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PointOrClosedPointContext | context | The parse tree. |
ExitPolygon(wktParser.PolygonContext)
Exit a parse tree produced by polygon().
The default implementation does nothing.
Declaration
public virtual void ExitPolygon(wktParser.PolygonContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonContext | context | The parse tree. |
ExitPolygonGeometry(wktParser.PolygonGeometryContext)
Exit a parse tree produced by polygonGeometry().
The default implementation does nothing.
Declaration
public virtual void ExitPolygonGeometry(wktParser.PolygonGeometryContext context)
Parameters
Type | Name | Description |
---|---|---|
wktParser.PolygonGeometryContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.