public class JSONPathCompilerTokenManager extends Object implements JSONPathCompilerConstants
Modifier and Type | Field and Description |
---|---|
protected int |
curChar |
PrintStream |
debugStream
Debug output.
|
protected CharStream |
input_stream |
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
AND, CLOSE_ARRAY, CNAME, DEFAULT, DIGIT, DIGIT19, DOT, EOF, EXP, EXPONENT, FRAC, IDENTIFIER, INTEGER, LETTER, NOT, NUMBER, OP, OPEN_ARRAY, OR, OTHER, tokenImage
Constructor and Description |
---|
JSONPathCompilerTokenManager(CharStream stream)
Constructor.
|
JSONPathCompilerTokenManager(CharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
void |
ReInit(CharStream stream)
Reinitialise parser.
|
void |
ReInit(CharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
protected int curChar
public PrintStream debugStream
protected CharStream input_stream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public JSONPathCompilerTokenManager(CharStream stream)
public JSONPathCompilerTokenManager(CharStream stream, int lexState)
public Token getNextToken()
protected Token jjFillToken()
public void ReInit(CharStream stream)
public void ReInit(CharStream stream, int lexState)
public void setDebugStream(PrintStream ds)
public void SwitchTo(int lexState)