Top Description Fields Constructors Methods
org.apache.commons.jexl2.parser

public Class ParserTokenManager

extends Object
implements ParserConstants
Class Inheritance
All Implemented Interfaces
org.apache.commons.jexl2.parser.ParserConstants
Imports
java.io.Reader, org.apache.commons.jexl2.JexlInfo

Token Manager.

Field Summary

Modifier and TypeField and Description
protected char
pack-priv int
public PrintStream
debugStream

Debug output.

pack-priv int
protected SimpleCharStream
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv static final long[]
pack-priv int
pack-priv int
public static final int[]
jjnewLexState

Lex State array.

pack-priv int
pack-priv static final int[]
pack-priv int
private final int[]
private final int[]
public static final String[]
jjstrLiteralImages

Token literal values.

pack-priv static final long[]
pack-priv static final long[]
public static final String[]
lexStateNames

Lexer state names.

Constructor Summary

AccessConstructor and Description
public
public
ParserTokenManager(SimpleCharStream stream, int lexState)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public Token
getNextToken()

Get the next Token.

private void
jjAddStates(int start, int end)

private static final boolean
jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)

private static final boolean
jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)

private void
jjCheckNAdd(int state)

private void
jjCheckNAddStates(int start, int end)

private void
jjCheckNAddTwoStates(int state1, int state2)

protected Token
private int
jjMoveNfa_0(int startState, int curPos)

private int
jjMoveNfa_1(int startState, int curPos)

private int
jjMoveNfa_2(int startState, int curPos)

private int
private int
private int
private int
private int
private int
private int
jjMoveStringLiteralDfa2_0(long old0, long active0)

private int
jjMoveStringLiteralDfa2_1(long old0, long active0)

private int
jjMoveStringLiteralDfa2_2(long old0, long active0)

private int
jjMoveStringLiteralDfa3_0(long old0, long active0)

private int
jjMoveStringLiteralDfa3_1(long old0, long active0)

private int
jjMoveStringLiteralDfa3_2(long old0, long active0)

private int
jjMoveStringLiteralDfa4_0(long old0, long active0)

private int
jjMoveStringLiteralDfa4_1(long old0, long active0)

private int
jjMoveStringLiteralDfa4_2(long old0, long active0)

private int
jjMoveStringLiteralDfa5_0(long old0, long active0)

private int
jjMoveStringLiteralDfa5_1(long old0, long active0)

private int
jjMoveStringLiteralDfa5_2(long old0, long active0)

private int
jjMoveStringLiteralDfa6_0(long old0, long active0)

private int
jjMoveStringLiteralDfa6_1(long old0, long active0)

private int
jjMoveStringLiteralDfa6_2(long old0, long active0)

private final int
jjStartNfa_0(int pos, long active0)

private final int
jjStartNfa_1(int pos, long active0)

private final int
jjStartNfa_2(int pos, long active0)

private int
jjStartNfaWithStates_0(int pos, int kind, int state)

private int
jjStartNfaWithStates_1(int pos, int kind, int state)

private int
jjStartNfaWithStates_2(int pos, int kind, int state)

private int
jjStopAtPos(int pos, int kind)

private final int
jjStopStringLiteralDfa_0(int pos, long active0)

private final int
jjStopStringLiteralDfa_1(int pos, long active0)

private final int
jjStopStringLiteralDfa_2(int pos, long active0)

public void
ReInit(SimpleCharStream stream)

Reinitialise parser.

public void
ReInit(SimpleCharStream stream, int lexState)

Reinitialise parser.

private void
public void
setDebugStream(PrintStream ds)

Set debug output.

public void
SwitchTo(int lexState)

Switch to specified lex state.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

curCharback to summary
protected char curChar
curLexStateback to summary
pack-priv int curLexState
debugStreamback to summary
public PrintStream debugStream

Debug output.

defaultLexStateback to summary
pack-priv int defaultLexState
input_streamback to summary
protected SimpleCharStream input_stream
jjbitVec0back to summary
pack-priv static final long[] jjbitVec0
jjbitVec2back to summary
pack-priv static final long[] jjbitVec2
jjbitVec3back to summary
pack-priv static final long[] jjbitVec3
jjbitVec4back to summary
pack-priv static final long[] jjbitVec4
jjmatchedKindback to summary
pack-priv int jjmatchedKind
jjmatchedPosback to summary
pack-priv int jjmatchedPos
jjnewLexStateback to summary
public static final int[] jjnewLexState

Lex State array.

jjnewStateCntback to summary
pack-priv int jjnewStateCnt
jjnextStatesback to summary
pack-priv static final int[] jjnextStates
jjroundback to summary
pack-priv int jjround
jjroundsback to summary
private final int[] jjrounds
jjstateSetback to summary
private final int[] jjstateSet
jjstrLiteralImagesback to summary
public static final String[] jjstrLiteralImages

Token literal values.

jjtoSkipback to summary
pack-priv static final long[] jjtoSkip
jjtoTokenback to summary
pack-priv static final long[] jjtoToken
lexStateNamesback to summary
public static final String[] lexStateNames

Lexer state names.

Constructor Detail

ParserTokenManagerback to summary
public ParserTokenManager(SimpleCharStream stream)

Constructor.

ParserTokenManagerback to summary
public ParserTokenManager(SimpleCharStream stream, int lexState)

Constructor.

Method Detail

getNextTokenback to summary
public Token getNextToken()

Get the next Token.

jjAddStatesback to summary
private void jjAddStates(int start, int end)
jjCanMove_0back to summary
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
jjCanMove_1back to summary
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
jjCheckNAddback to summary
private void jjCheckNAdd(int state)
jjCheckNAddStatesback to summary
private void jjCheckNAddStates(int start, int end)
jjCheckNAddTwoStatesback to summary
private void jjCheckNAddTwoStates(int state1, int state2)
jjFillTokenback to summary
protected Token jjFillToken()
jjMoveNfa_0back to summary
private int jjMoveNfa_0(int startState, int curPos)
jjMoveNfa_1back to summary
private int jjMoveNfa_1(int startState, int curPos)
jjMoveNfa_2back to summary
private int jjMoveNfa_2(int startState, int curPos)
jjMoveStringLiteralDfa0_0back to summary
private int jjMoveStringLiteralDfa0_0()
jjMoveStringLiteralDfa0_1back to summary
private int jjMoveStringLiteralDfa0_1()
jjMoveStringLiteralDfa0_2back to summary
private int jjMoveStringLiteralDfa0_2()
jjMoveStringLiteralDfa1_0back to summary
private int jjMoveStringLiteralDfa1_0(long active0)
jjMoveStringLiteralDfa1_1back to summary
private int jjMoveStringLiteralDfa1_1(long active0)
jjMoveStringLiteralDfa1_2back to summary
private int jjMoveStringLiteralDfa1_2(long active0)
jjMoveStringLiteralDfa2_0back to summary
private int jjMoveStringLiteralDfa2_0(long old0, long active0)
jjMoveStringLiteralDfa2_1back to summary
private int jjMoveStringLiteralDfa2_1(long old0, long active0)
jjMoveStringLiteralDfa2_2back to summary
private int jjMoveStringLiteralDfa2_2(long old0, long active0)
jjMoveStringLiteralDfa3_0back to summary
private int jjMoveStringLiteralDfa3_0(long old0, long active0)
jjMoveStringLiteralDfa3_1back to summary
private int jjMoveStringLiteralDfa3_1(long old0, long active0)
jjMoveStringLiteralDfa3_2back to summary
private int jjMoveStringLiteralDfa3_2(long old0, long active0)
jjMoveStringLiteralDfa4_0back to summary
private int jjMoveStringLiteralDfa4_0(long old0, long active0)
jjMoveStringLiteralDfa4_1back to summary
private int jjMoveStringLiteralDfa4_1(long old0, long active0)
jjMoveStringLiteralDfa4_2back to summary
private int jjMoveStringLiteralDfa4_2(long old0, long active0)
jjMoveStringLiteralDfa5_0back to summary
private int jjMoveStringLiteralDfa5_0(long old0, long active0)
jjMoveStringLiteralDfa5_1back to summary
private int jjMoveStringLiteralDfa5_1(long old0, long active0)
jjMoveStringLiteralDfa5_2back to summary
private int jjMoveStringLiteralDfa5_2(long old0, long active0)
jjMoveStringLiteralDfa6_0back to summary
private int jjMoveStringLiteralDfa6_0(long old0, long active0)
jjMoveStringLiteralDfa6_1back to summary
private int jjMoveStringLiteralDfa6_1(long old0, long active0)
jjMoveStringLiteralDfa6_2back to summary
private int jjMoveStringLiteralDfa6_2(long old0, long active0)
jjStartNfa_0back to summary
private final int jjStartNfa_0(int pos, long active0)
jjStartNfa_1back to summary
private final int jjStartNfa_1(int pos, long active0)
jjStartNfa_2back to summary
private final int jjStartNfa_2(int pos, long active0)
jjStartNfaWithStates_0back to summary
private int jjStartNfaWithStates_0(int pos, int kind, int state)
jjStartNfaWithStates_1back to summary
private int jjStartNfaWithStates_1(int pos, int kind, int state)
jjStartNfaWithStates_2back to summary
private int jjStartNfaWithStates_2(int pos, int kind, int state)
jjStopAtPosback to summary
private int jjStopAtPos(int pos, int kind)
jjStopStringLiteralDfa_0back to summary
private final int jjStopStringLiteralDfa_0(int pos, long active0)
jjStopStringLiteralDfa_1back to summary
private final int jjStopStringLiteralDfa_1(int pos, long active0)
jjStopStringLiteralDfa_2back to summary
private final int jjStopStringLiteralDfa_2(int pos, long active0)
ReInitback to summary
public void ReInit(SimpleCharStream stream)

Reinitialise parser.

ReInitback to summary
public void ReInit(SimpleCharStream stream, int lexState)

Reinitialise parser.

ReInitRoundsback to summary
private void ReInitRounds()
setDebugStreamback to summary
public void setDebugStream(PrintStream ds)

Set debug output.

SwitchToback to summary
public void SwitchTo(int lexState)

Switch to specified lex state.