public class Position extends java.lang.Object implements IHasPosition
| Constructor and Description |
|---|
Position(int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnd()
The ending index of this location in the character stream
This points to the last character in this token.
|
int |
getStart()
The starting index of this location in the character stream.
|
public int getEnd()
IHasPositiongetEnd in interface IHasPositionpublic int getStart()
IHasPositiongetStart in interface IHasPosition