| |
|
| java.lang.Object persistence.antlr.TokenBuffer
TokenBuffer | public class TokenBuffer (Code) | | |
Method Summary | |
final public int | LA(int i) | final public Token | LT(int i) | final public void | consume() | public TokenStream | getInput() | final public int | mark() Return an integer marker that can be used to rewind the buffer to
its current state. | final public void | reset() | final public void | rewind(int mark) Rewind the token buffer to a marker. |
markerOffset | int markerOffset(Code) | | |
numToConsume | int numToConsume(Code) | | |
consume | final public void consume()(Code) | | Mark another token for deferred consumption
|
getInput | public TokenStream getInput()(Code) | | return the Tokenizer (needed by ParseView)
|
mark | final public int mark()(Code) | | Return an integer marker that can be used to rewind the buffer to
its current state.
|
reset | final public void reset()(Code) | | Reset the input buffer to empty state
|
rewind | final public void rewind(int mark)(Code) | | Rewind the token buffer to a marker.
Parameters: mark - Marker returned previously from mark() |
|
|
|