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, start
public LexerPosition getCurrentPosition()
Lexer
getCurrentPosition
in class Lexer
public void restore(LexerPosition position)
Lexer