|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jexl2.parser.ParserTokenManager
public class ParserTokenManager
Token Manager.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.apache.commons.jexl2.parser.ParserConstants |
---|
and, AND, assign, COLON, COMMA, DEFAULT, DIGIT, div, DOT, ELSE, ELVIS, EMPTY, EOF, eq, FALSE, FLOAT_LITERAL, FOR, FOR_EACH_IN, FOREACH, ge, gt, IDENTIFIER, IF, IN, INTEGER_LITERAL, LBRACKET, LCURLY, le, LETTER, LPAREN, lt, minus, mod, mult, ne, NEW, not, NULL, or, OR, plus, QMARK, RBRACKET, RCURLY, REGISTER, REGISTERS, req, RETURN, rne, RPAREN, SEMICOL, SIZE, STRING_LITERAL, tilda, tokenImage, TRUE, VAR, WHILE, xor |
Constructor Summary | |
---|---|
ParserTokenManager(SimpleCharStream stream)
Constructor. |
|
ParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
Token |
getNextToken()
Get the next Token. |
protected Token |
jjFillToken()
|
void |
ReInit(SimpleCharStream stream)
Reinitialise parser. |
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser. |
void |
setDebugStream(PrintStream ds)
Set debug output. |
void |
SwitchTo(int lexState)
Switch to specified lex state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ParserTokenManager(SimpleCharStream stream)
public ParserTokenManager(SimpleCharStream stream, int lexState)
Method Detail |
---|
public void setDebugStream(PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |