public class ELParserTokenManager extends Object implements ELParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
PrintStream |
debugStream
Debug output.
|
protected SimpleCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
AND0, AND1, BADLY_ESCAPED_STRING_LITERAL, COLON, COMMA, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, END_EXPRESSION, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FUNCTIONSUFFIX, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, INSTANCEOF, INTEGER_LITERAL, LBRACK, LE0, LE1, LETTER, LITERAL_EXPRESSION, LPAREN, LT0, LT1, MINUS, MOD0, MOD1, MULT, NE0, NE1, NOT0, NOT1, NULL, OR0, OR1, PLUS, QUESTIONMARK, RBRACK, RPAREN, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, STRING_LITERAL, tokenImage, TRUE
Constructor and Description |
---|
ELParserTokenManager(SimpleCharStream stream)
Constructor.
|
ELParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken() |
protected Token |
jjFillToken() |
void |
ReInit(SimpleCharStream stream)
Reinitialise parser.
|
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds) |
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected SimpleCharStream input_stream
protected char curChar
public ELParserTokenManager(SimpleCharStream stream)
stream
- simple char streampublic ELParserTokenManager(SimpleCharStream stream, int lexState)
stream
- simple char streamlexState
- statepublic void setDebugStream(PrintStream ds)
ds
- Set debug output.public void ReInit(SimpleCharStream stream)
stream
- simple char streampublic void ReInit(SimpleCharStream stream, int lexState)
stream
- simple char streamlexState
- statepublic void SwitchTo(int lexState)
lexState
- stateprotected Token jjFillToken()
public Token getNextToken()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.