Class ExpressionParserTokenManager
java.lang.Object
net.thisptr.jackson.jq.internal.javacc.ExpressionParserTokenManager
- All Implemented Interfaces:
ExpressionParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int(package private) intDebug output.(package private) int(package private) intprivate StringBuilderprotected SimpleCharStream(package private) static final long[](package private) static final long[]private final StringBuilderprivate int(package private) int(package private) intstatic final int[]Lex State array.(package private) int(package private) static final int[](package private) intprivate final int[]private final int[]static final String[]Token literal values.(package private) static final long[](package private) static final long[](package private) static final long[](package private) static final long[]private intstatic final String[]Lexer state names.(package private) intFields inherited from interface ExpressionParserConstants
ASSIGN_OP, ATSIGN, BOOLEAN_LITERAL_FALSE, BOOLEAN_LITERAL_TRUE, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PAR, CODEPOINT_CHAR, COLON, COMMA, COMMENT, COMP_EQUAL, COMP_GREATER, COMP_GREATER_EQUAL, COMP_LESS, COMP_LESS_EQUAL, COMP_NOT_EQUAL, DEFAULT, DEFAULT_EQUAL, DIGIT, DIVIDE, DIVIDE_EQUAL, DOLLAR, DOT, DOUBLE_COLON, ENDQUOTE, EOF, ESCAPE_CHAR, EXPONENT, FLOAT_LITERAL, IDENTIFIER, IDENTIFIER_AFTER_DOT, INTEGER_LITERAL, KEYWORD_AS, KEYWORD_BREAK, KEYWORD_CATCH, KEYWORD_DEF, KEYWORD_ELIF, KEYWORD_ELSE, KEYWORD_END, KEYWORD_FOREACH, KEYWORD_IF, KEYWORD_IMPORT, KEYWORD_INCLUDE, KEYWORD_LABEL, KEYWORD_MODULE, KEYWORD_REDUCE, KEYWORD_THEN, KEYWORD_TRY, LETTER, MINUS, MINUS_EQUAL, MODULO, MODULO_EQUAL, NULL_LITERAL, OP_AND, OP_DEFAULT, OP_OR, OPEN_BRACE, OPEN_BRACKET, OPEN_INTERP, OPEN_PAR, OTHERWISE_AFTER_DOT, PIPE, PLUS, PLUS_EQUAL, QUESTION, QUOTE, RECURSION, SEMICOLON, SPACES, STATE_DOT, STATE_STRING, STATE_STRING_ESCAPE, TIMES, TIMES_EQUAL, tokenImage, UPDATE_OP, VISIBLE_CHAR -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.ExpressionParserTokenManager(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.private voidjjAddStates(int start, int end) private static final booleanjjCanMove_0(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 Tokenprivate intjjMoveNfa_0(int startState, int curPos) private intjjMoveNfa_1(int startState, int curPos) private intjjMoveNfa_2(int startState, int curPos) private intjjMoveNfa_3(int startState, int curPos) private intprivate intprivate intprivate intprivate intjjMoveStringLiteralDfa1_0(long active0, long active1) private intjjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) private intjjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) private intjjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) private intjjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) private intjjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) private final intjjStartNfa_0(int pos, long active0, long active1) private final intjjStartNfa_2(int pos, long active0) private intjjStartNfaWithStates_0(int pos, int kind, int state) private intjjStopAtPos(int pos, int kind) private final intjjStopStringLiteralDfa_0(int pos, long active0, long active1) private final intjjStopStringLiteralDfa_2(int pos, long active0) (package private) voidvoidReInit(SimpleCharStream stream) Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState) Reinitialise parser.private voidvoidSet debug output.(package private) voidSkipLexicalActions(Token matchedToken) voidSwitchTo(int lexState) Switch to specified lex state.(package private) voidTokenLexicalActions(Token matchedToken)
-
Field Details
-
depthStack
-
depth
int depth -
stringInterpLevel
int stringInterpLevel -
debugStream
Debug output. -
jjbitVec0
static final long[] jjbitVec0 -
jjbitVec2
static final long[] jjbitVec2 -
jjstrLiteralImages
Token literal values. -
jjnextStates
static final int[] jjnextStates -
curLexState
int curLexState -
defaultLexState
int defaultLexState -
jjnewStateCnt
int jjnewStateCnt -
jjround
int jjround -
jjmatchedPos
int jjmatchedPos -
jjmatchedKind
int jjmatchedKind -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array. -
jjtoToken
static final long[] jjtoToken -
jjtoSkip
static final long[] jjtoSkip -
jjtoSpecial
static final long[] jjtoSpecial -
jjtoMore
static final long[] jjtoMore -
input_stream
-
jjrounds
private final int[] jjrounds -
jjstateSet
private final int[] jjstateSet -
jjimage
-
image
-
jjimageLen
private int jjimageLen -
lengthOfMatch
private int lengthOfMatch -
curChar
protected int curChar
-
-
Constructor Details
-
ExpressionParserTokenManager
Constructor. -
ExpressionParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
jjStopStringLiteralDfa_0
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1) -
jjStartNfa_0
private final int jjStartNfa_0(int pos, long active0, long active1) -
jjStopAtPos
private int jjStopAtPos(int pos, int kind) -
jjMoveStringLiteralDfa0_0
private int jjMoveStringLiteralDfa0_0() -
jjMoveStringLiteralDfa1_0
private int jjMoveStringLiteralDfa1_0(long active0, long active1) -
jjMoveStringLiteralDfa2_0
private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) -
jjMoveStringLiteralDfa3_0
private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) -
jjMoveStringLiteralDfa4_0
private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) -
jjMoveStringLiteralDfa5_0
private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) -
jjMoveStringLiteralDfa6_0
private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) -
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() -
jjMoveNfa_2
private int jjMoveNfa_2(int startState, int curPos) -
jjMoveStringLiteralDfa0_3
private int jjMoveStringLiteralDfa0_3() -
jjMoveNfa_3
private int jjMoveNfa_3(int startState, int curPos) -
jjMoveStringLiteralDfa0_1
private int jjMoveStringLiteralDfa0_1() -
jjMoveNfa_1
private int jjMoveNfa_1(int startState, int curPos) -
jjFillToken
-
jjCanMove_0
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) -
getNextToken
Get the next Token. -
SkipLexicalActions
-
MoreLexicalActions
void MoreLexicalActions() -
TokenLexicalActions
-
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) -
ReInit
Reinitialise parser. -
ReInitRounds
private void ReInitRounds() -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-