public interface IParserInput
Modifier and Type | Field and Description |
---|---|
static int |
EOF
The end of the file marker.
|
Modifier and Type | Method and Description |
---|---|
int |
consume()
Gets the next character from the input and moves the position forward 1.
|
int |
getPosition()
Gets the position marker in the input.
|
int |
peek()
Gets the next character from the input but maintains the position.
|
void |
setPosition(int position)
Sets the position marker of the input to the given value.
|
static final int EOF
int consume()
int peek()
int getPosition()
void setPosition(int position)
position
- The position to set.Copyright © 2017 Kevoree Project. All rights reserved.