public interface PositionTrackingStream<T>
| Modifier and Type | Method and Description |
|---|---|
T |
getKnownPositionElement(boolean allowApproximateLocation)
Returns an element containing concrete information about the current
position in the stream.
|
boolean |
hasPositionInformation(T element)
Determines if the specified
element contains concrete position
information. |
T getKnownPositionElement(boolean allowApproximateLocation)
allowApproximateLocation - if false, this method returns
null if an element containing exact information about the current
position is not availableboolean hasPositionInformation(T element)
element contains concrete position
information.element - the element to checktrue if element contains concrete position
information, otherwise falseCopyright © 1992-2013 ANTLR. All Rights Reserved.