Package com.sun.el.parser
Class ELParserTokenManager
- java.lang.Object
-
- com.sun.el.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 charcurChar(package private) intcurLexStatejava.io.PrintStreamdebugStreamDebug output.(package private) intdefaultLexStateprivate java.lang.StringBuilderimageprotected SimpleCharStreaminput_stream(package private) static long[]jjbitVec0(package private) static long[]jjbitVec2(package private) static long[]jjbitVec3(package private) static long[]jjbitVec4(package private) static long[]jjbitVec5(package private) static long[]jjbitVec6(package private) static long[]jjbitVec7(package private) static long[]jjbitVec8private java.lang.StringBuilderjjimageprivate intjjimageLen(package private) intjjmatchedKind(package private) intjjmatchedPosstatic int[]jjnewLexStateLex State array.(package private) intjjnewStateCnt(package private) static int[]jjnextStates(package private) intjjroundprivate int[]jjroundsprivate int[]jjstateSetstatic java.lang.String[]jjstrLiteralImagesToken literal values.(package private) static long[]jjtoSkip(package private) static long[]jjtoTokenprivate intlengthOfMatchstatic java.lang.String[]lexStateNamesLexer state names.(package private) java.util.Stack<java.lang.Integer>stack-
Fields inherited from interface com.sun.el.parser.ELParserConstants
AND0, AND1, ARROW, ASSIGN, BADLY_ESCAPED_STRING_LITERAL, COLON, COMMA, CONCAT, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, IN_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, RBRACK, RCURL, RPAREN, SEMICOLON, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, START_MAP, STRING_LITERAL, tokenImage, TRUE
-
-
Constructor Summary
Constructors Constructor Description ELParserTokenManager(SimpleCharStream stream)Constructor.ELParserTokenManager(SimpleCharStream stream, int lexState)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokengetNextToken()Get the next Token.private voidjjAddStates(int start, int end)private static booleanjjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)private static booleanjjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)private voidjjCheckNAdd(int state)private voidjjCheckNAddStates(int start, int end)private voidjjCheckNAddTwoStates(int state1, int state2)protected TokenjjFillToken()private intjjMoveNfa_0(int startState, int curPos)private intjjMoveNfa_1(int startState, int curPos)private intjjMoveNfa_2(int startState, int curPos)private intjjMoveStringLiteralDfa0_0()private intjjMoveStringLiteralDfa0_1()private intjjMoveStringLiteralDfa0_2()private intjjMoveStringLiteralDfa1_0(long active0)private intjjMoveStringLiteralDfa1_1(long active0)private intjjMoveStringLiteralDfa1_2(long active0)private intjjMoveStringLiteralDfa2_1(long old0, long active0)private intjjMoveStringLiteralDfa2_2(long old0, long active0)private intjjMoveStringLiteralDfa3_1(long old0, long active0)private intjjMoveStringLiteralDfa3_2(long old0, long active0)private intjjMoveStringLiteralDfa4_1(long old0, long active0)private intjjMoveStringLiteralDfa4_2(long old0, long active0)private intjjMoveStringLiteralDfa5_1(long old0, long active0)private intjjMoveStringLiteralDfa5_2(long old0, long active0)private intjjMoveStringLiteralDfa6_1(long old0, long active0)private intjjMoveStringLiteralDfa6_2(long old0, long active0)private intjjMoveStringLiteralDfa7_1(long old0, long active0)private intjjMoveStringLiteralDfa7_2(long old0, long active0)private intjjMoveStringLiteralDfa8_1(long old0, long active0)private intjjMoveStringLiteralDfa8_2(long old0, long active0)private intjjMoveStringLiteralDfa9_1(long old0, long active0)private intjjMoveStringLiteralDfa9_2(long old0, long active0)private intjjStartNfa_0(int pos, long active0)private intjjStartNfa_1(int pos, long active0)private intjjStartNfa_2(int pos, long active0)private intjjStartNfaWithStates_0(int pos, int kind, int state)private intjjStartNfaWithStates_1(int pos, int kind, int state)private intjjStartNfaWithStates_2(int pos, int kind, int state)private intjjStopAtPos(int pos, int kind)private intjjStopStringLiteralDfa_0(int pos, long active0)private intjjStopStringLiteralDfa_1(int pos, long active0)private intjjStopStringLiteralDfa_2(int pos, long active0)voidReInit(SimpleCharStream stream)Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState)Reinitialise parser.private voidReInitRounds()voidsetDebugStream(java.io.PrintStream ds)Set debug output.voidSwitchTo(int lexState)Switch to specified lex state.(package private) voidTokenLexicalActions(Token matchedToken)
-
-
-
Field Detail
-
stack
java.util.Stack<java.lang.Integer> stack
-
debugStream
public java.io.PrintStream debugStream
Debug output.
-
jjbitVec0
static final long[] jjbitVec0
-
jjbitVec2
static final long[] jjbitVec2
-
jjbitVec3
static final long[] jjbitVec3
-
jjbitVec4
static final long[] jjbitVec4
-
jjbitVec5
static final long[] jjbitVec5
-
jjbitVec6
static final long[] jjbitVec6
-
jjbitVec7
static final long[] jjbitVec7
-
jjbitVec8
static final long[] jjbitVec8
-
jjnextStates
static final int[] jjnextStates
-
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.
-
jjtoToken
static final long[] jjtoToken
-
jjtoSkip
static final long[] jjtoSkip
-
input_stream
protected SimpleCharStream input_stream
-
jjrounds
private final int[] jjrounds
-
jjstateSet
private final int[] jjstateSet
-
jjimage
private final java.lang.StringBuilder jjimage
-
image
private java.lang.StringBuilder image
-
jjimageLen
private int jjimageLen
-
lengthOfMatch
private int lengthOfMatch
-
curChar
protected char curChar
-
curLexState
int curLexState
-
defaultLexState
int defaultLexState
-
jjnewStateCnt
int jjnewStateCnt
-
jjround
int jjround
-
jjmatchedPos
int jjmatchedPos
-
jjmatchedKind
int jjmatchedKind
-
-
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.
-
jjStopStringLiteralDfa_0
private final int jjStopStringLiteralDfa_0(int pos, long active0)
-
jjStartNfa_0
private final int jjStartNfa_0(int pos, long active0)
-
jjStopAtPos
private int jjStopAtPos(int pos, int kind)
-
jjMoveStringLiteralDfa0_0
private int jjMoveStringLiteralDfa0_0()
-
jjMoveStringLiteralDfa1_0
private int jjMoveStringLiteralDfa1_0(long active0)
-
jjStartNfaWithStates_0
private int jjStartNfaWithStates_0(int pos, int kind, int state)
-
jjMoveNfa_0
private int jjMoveNfa_0(int startState, int curPos)
-
jjStopStringLiteralDfa_2
private final int jjStopStringLiteralDfa_2(int pos, long active0)
-
jjStartNfa_2
private final int jjStartNfa_2(int pos, long active0)
-
jjMoveStringLiteralDfa0_2
private int jjMoveStringLiteralDfa0_2()
-
jjMoveStringLiteralDfa1_2
private int jjMoveStringLiteralDfa1_2(long active0)
-
jjMoveStringLiteralDfa2_2
private int jjMoveStringLiteralDfa2_2(long old0, long active0)
-
jjMoveStringLiteralDfa3_2
private int jjMoveStringLiteralDfa3_2(long old0, long active0)
-
jjMoveStringLiteralDfa4_2
private int jjMoveStringLiteralDfa4_2(long old0, long active0)
-
jjMoveStringLiteralDfa5_2
private int jjMoveStringLiteralDfa5_2(long old0, long active0)
-
jjMoveStringLiteralDfa6_2
private int jjMoveStringLiteralDfa6_2(long old0, long active0)
-
jjMoveStringLiteralDfa7_2
private int jjMoveStringLiteralDfa7_2(long old0, long active0)
-
jjMoveStringLiteralDfa8_2
private int jjMoveStringLiteralDfa8_2(long old0, long active0)
-
jjMoveStringLiteralDfa9_2
private int jjMoveStringLiteralDfa9_2(long old0, long active0)
-
jjStartNfaWithStates_2
private int jjStartNfaWithStates_2(int pos, int kind, int state)
-
jjMoveNfa_2
private int jjMoveNfa_2(int startState, int curPos)
-
jjStopStringLiteralDfa_1
private final int jjStopStringLiteralDfa_1(int pos, long active0)
-
jjStartNfa_1
private final int jjStartNfa_1(int pos, long active0)
-
jjMoveStringLiteralDfa0_1
private int jjMoveStringLiteralDfa0_1()
-
jjMoveStringLiteralDfa1_1
private int jjMoveStringLiteralDfa1_1(long active0)
-
jjMoveStringLiteralDfa2_1
private int jjMoveStringLiteralDfa2_1(long old0, long active0)
-
jjMoveStringLiteralDfa3_1
private int jjMoveStringLiteralDfa3_1(long old0, long active0)
-
jjMoveStringLiteralDfa4_1
private int jjMoveStringLiteralDfa4_1(long old0, long active0)
-
jjMoveStringLiteralDfa5_1
private int jjMoveStringLiteralDfa5_1(long old0, long active0)
-
jjMoveStringLiteralDfa6_1
private int jjMoveStringLiteralDfa6_1(long old0, long active0)
-
jjMoveStringLiteralDfa7_1
private int jjMoveStringLiteralDfa7_1(long old0, long active0)
-
jjMoveStringLiteralDfa8_1
private int jjMoveStringLiteralDfa8_1(long old0, long active0)
-
jjMoveStringLiteralDfa9_1
private int jjMoveStringLiteralDfa9_1(long old0, long active0)
-
jjStartNfaWithStates_1
private int jjStartNfaWithStates_1(int pos, int kind, int state)
-
jjMoveNfa_1
private int jjMoveNfa_1(int startState, int curPos)
-
jjCanMove_0
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
-
jjCanMove_1
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInitRounds
private void ReInitRounds()
-
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.
-
TokenLexicalActions
void TokenLexicalActions(Token matchedToken)
-
jjCheckNAdd
private void jjCheckNAdd(int state)
-
jjAddStates
private void jjAddStates(int start, int end)
-
jjCheckNAddTwoStates
private void jjCheckNAddTwoStates(int state1, int state2)
-
jjCheckNAddStates
private void jjCheckNAddStates(int start, int end)
-
-