public abstract class LexerBase extends Lexer
| Constructor and Description |
|---|
LexerBase() |
| Modifier and Type | Method and Description |
|---|---|
LexerPosition |
getCurrentPosition()
Returns the current position and state of the lexer.
|
void |
restore(LexerPosition position)
Restores the lexer to the specified state and position.
|
advance, getBufferEnd, getBufferSequence, getState, getTokenEnd, getTokenSequence, getTokenStart, getTokenText, getTokenType, start, start, startpublic LexerPosition getCurrentPosition()
LexergetCurrentPosition in class Lexerpublic void restore(LexerPosition position)
Lexer