Package jjparse.input
Class Input.Position
java.lang.Object
jjparse.input.Input.Position
- Direct Known Subclasses:
CharacterInput.CodePointPosition
Represents an offset within this
Input. Since the unit of this offset depends on the element type of
this Input, this class depends on the specific Input instance. Also note, that this offset may
not reflect the Input<T>.Position as it is perceived by the user. This is, for example, the case for Inputs
of Characters, where up to two Characters may form a single unicode code point. It is up to the
implementation of the respective Input to interpret this offset accordingly.- Author:
- Björn Lötters
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
input
-
offset
public final int offset
-
-
Constructor Details
-
Method Details