Class ExpressionTokenManager
java.lang.Object
com.mayam.wf.attributes.shared.expr.ExpressionTokenManager
- All Implemented Interfaces:
ExpressionConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected JavaCharStream
static final int[]
Lex State array.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface com.mayam.wf.attributes.shared.expr.ExpressionConstants
_DEFAULT, ANDASSIGN, ASSIGN, BANG, BIT_AND, BIT_OR, BOM, BREAK, CASE, CATCH, CLASS, COLON, COMMA, CONST, CONTINUE, CR, DEBUGGER, DECIMAL_LITERAL, DECR, DEFAULT, DELETE, DO, DOT, DOUBLE_STRING_LITERAL_BODY, ELSE, ENUM, EOF, EOL, EQ, EXPONENT, EXPORT, EXTENDS, FALSE, FF, FINALLY, FLOATING_POINT_LITERAL, FOR, FUNCTION, GE, GET, GT, HEX_DIGIT, HEX_LITERAL, HOOK, IDENTIFIER, IDENTIFIER_PART, IDENTIFIER_START, IF, IMPORT, IN, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, LBRACE, LBRACKET, LE, LF, LPAREN, LS, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NBSP, NE, NEW, NL_DECR, NL_INCR, NO_SKIP_EOL, NOEOL, NOREGEXP, NULL, OCTAL_LITERAL, ORASSIGN, PLUS, PLUSASSIGN, PS, RBRACE, RBRACKET, REGULAR_EXPRESSION_BACKSLASH_SEQUENCE, REGULAR_EXPRESSION_BODY, REGULAR_EXPRESSION_CHAR, REGULAR_EXPRESSION_CLASS, REGULAR_EXPRESSION_CLASS_CHAR, REGULAR_EXPRESSION_FIRST_CHAR, REGULAR_EXPRESSION_LITERAL, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SET, SINGLE_LINE_COMMENT, SINGLE_STRING_LITERAL_BODY, SLASH, SLASHASSIGN, SP, STAR, STARASSIGN, STRICT_EQ, STRICT_NEQ, STRING_LITERAL, SUPER, SWITCH, TAB, THIS, THROW, TILDE, tokenImage, TRUE, TRY, TYPEOF, UNICODE_COMBINING_MARK, UNICODE_CONNECTOR_PUNCTUATION, UNICODE_DIGIT, UNICODE_ESCAPE_SEQUENCE, UNICODE_LETTER, UNTERMINATED_STRING_LITERAL, USP, VAR, VOID, VT, WHILE, WITH, XOR, XORASSIGN, ZWJ, ZWNJ
-
Constructor Summary
ConstructorDescriptionExpressionTokenManager
(JavaCharStream stream) Constructor.ExpressionTokenManager
(JavaCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
void
ReInit
(JavaCharStream stream) Reinitialise parser.void
ReInit
(JavaCharStream stream, int lexState) Reinitialise parser.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array. -
input_stream
-
curChar
protected int curChar
-
-
Constructor Details
-
Method Details
-
jjFillToken
-
getNextToken
Get the next Token. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-