Package org.zkoss.zel.impl.parser
Class ELParserTokenManager
- java.lang.Object
-
- org.zkoss.zel.impl.parser.ELParserTokenManager
-
- All Implemented Interfaces:
ELParserConstants
public class ELParserTokenManager extends java.lang.Object implements ELParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected char
curChar
java.io.PrintStream
debugStream
Debug output.protected SimpleCharStream
input_stream
static int[]
jjnewLexState
Lex State array.static java.lang.String[]
jjstrLiteralImages
Token literal values.static java.lang.String[]
lexStateNames
Lexer state names.-
Fields inherited from interface org.zkoss.zel.impl.parser.ELParserConstants
AND0, AND1, ARROW, ASSIGN, COLON, COMMA, CONCAT, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FUNCTIONSUFFIX, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, IN_SET_OR_MAP, 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, RBRACE, RBRACK, RPAREN, SEMICOLON, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, START_SET_OR_MAP, STRING_LITERAL, tokenImage, TRUE
-
-
Constructor Summary
Constructors Constructor Description ELParserTokenManager(SimpleCharStream stream)
Constructor.ELParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(java.io.PrintStream ds)
Set debug output.void
SwitchTo(int lexState)
Switch to specified lex state.
-
-
-
Field Detail
-
debugStream
public java.io.PrintStream debugStream
Debug output.
-
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
Token literal values.
-
lexStateNames
public static final java.lang.String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
input_stream
protected SimpleCharStream input_stream
-
curChar
protected char curChar
-
-
Constructor Detail
-
ELParserTokenManager
public ELParserTokenManager(SimpleCharStream stream)
Constructor.
-
ELParserTokenManager
public ELParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
Set debug output.
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
Get the next Token.
-
-