openjava.tools.parser
Class ParserTokenManager
java.lang.Object
|
+--openjava.tools.parser.ParserTokenManager
- All Implemented Interfaces:
- ParserConstants
- Direct Known Subclasses:
- CustomTokenManager, TokenSourceAdapter
- public class ParserTokenManager
- extends Object
- implements ParserConstants
Fields inherited from interface openjava.tools.parser.ParserConstants |
_DEFAULT, ABSTRACT, ANDASSIGN, AS, ASSIGN, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BY, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DIGIT, DO, DOT, DOUBLE, DOUBLE_FLOATING_POINT_LITERAL, ELSE, EOF, EQ, EXISTS, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, FROM, FULL, GE, GOTO, GROUP, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN, INCR, INNER, INSTANCEOF, INSTANTIATES, INT, INTEGER_LITERAL, INTERFACE, INTERSECT, JOIN, LBRACE, LBRACKET, LE, LEFT, LETTER, LONG, LONG_LITERAL, LPAREN, LSHIFT, LSHIFTASSIGN, LT, METACLASS, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ON, ORASSIGN, ORDER, PACKAGE, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REL_MINUS, REM, REMASSIGN, RETURN, RIGHT, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SELECT, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, UNION, VOID, VOLATILE, WHERE, WHILE, XOR, XORASSIGN |
Method Summary |
Token |
getNextToken()
|
private void |
jjAddStates(int start,
int end)
|
private static boolean |
jjCanMove_0(int hiByte,
int i1,
int i2,
long l1,
long l2)
|
private static boolean |
jjCanMove_1(int hiByte,
int i1,
int i2,
long l1,
long l2)
|
private void |
jjCheckNAdd(int state)
|
private void |
jjCheckNAddStates(int start)
|
private void |
jjCheckNAddStates(int start,
int end)
|
private void |
jjCheckNAddTwoStates(int state1,
int state2)
|
private Token |
jjFillToken()
|
private int |
jjMoveNfa_0(int startState,
int curPos)
|
private int |
jjMoveNfa_1(int startState,
int curPos)
|
private int |
jjMoveStringLiteralDfa0_0()
|
private int |
jjMoveStringLiteralDfa0_1()
|
private int |
jjMoveStringLiteralDfa0_2()
|
private int |
jjMoveStringLiteralDfa0_3()
|
private int |
jjMoveStringLiteralDfa1_0(long active0,
long active1,
long active2)
|
private int |
jjMoveStringLiteralDfa1_2(long active0)
|
private int |
jjMoveStringLiteralDfa1_3(long active0)
|
private int |
jjMoveStringLiteralDfa10_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa11_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa2_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private int |
jjMoveStringLiteralDfa3_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private int |
jjMoveStringLiteralDfa4_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private int |
jjMoveStringLiteralDfa5_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa6_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa7_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa8_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjMoveStringLiteralDfa9_0(long old0,
long active0,
long old1,
long active1)
|
private int |
jjStartNfa_0(int pos,
long active0,
long active1,
long active2)
|
private int |
jjStartNfaWithStates_0(int pos,
int kind,
int state)
|
private int |
jjStopAtPos(int pos,
int kind)
|
private int |
jjStopStringLiteralDfa_0(int pos,
long active0,
long active1,
long active2)
|
void |
ReInit(JavaCharStream stream)
|
void |
ReInit(JavaCharStream stream,
int lexState)
|
private void |
ReInitRounds()
|
void |
setDebugStream(PrintStream ds)
|
(package private) void |
SkipLexicalActions(Token matchedToken)
|
void |
SwitchTo(int lexState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugStream
public PrintStream debugStream
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 String[] jjstrLiteralImages
lexStateNames
public static final String[] lexStateNames
jjnewLexState
public static final int[] jjnewLexState
jjtoToken
static final long[] jjtoToken
jjtoSkip
static final long[] jjtoSkip
jjtoSpecial
static final long[] jjtoSpecial
jjtoMore
static final long[] jjtoMore
input_stream
private JavaCharStream input_stream
jjrounds
private final int[] jjrounds
jjstateSet
private final int[] jjstateSet
image
StringBuffer image
jjimageLen
int jjimageLen
lengthOfMatch
int lengthOfMatch
curChar
protected char curChar
curLexState
int curLexState
defaultLexState
int defaultLexState
jjnewStateCnt
int jjnewStateCnt
jjround
int jjround
jjmatchedPos
int jjmatchedPos
jjmatchedKind
int jjmatchedKind
ParserTokenManager
public ParserTokenManager(JavaCharStream stream)
ParserTokenManager
public ParserTokenManager(JavaCharStream stream,
int lexState)
setDebugStream
public void setDebugStream(PrintStream ds)
jjStopStringLiteralDfa_0
private final int jjStopStringLiteralDfa_0(int pos,
long active0,
long active1,
long active2)
jjStartNfa_0
private final int jjStartNfa_0(int pos,
long active0,
long active1,
long active2)
jjStopAtPos
private final int jjStopAtPos(int pos,
int kind)
jjStartNfaWithStates_0
private final int jjStartNfaWithStates_0(int pos,
int kind,
int state)
jjMoveStringLiteralDfa0_0
private final int jjMoveStringLiteralDfa0_0()
jjMoveStringLiteralDfa1_0
private final int jjMoveStringLiteralDfa1_0(long active0,
long active1,
long active2)
jjMoveStringLiteralDfa2_0
private final int jjMoveStringLiteralDfa2_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa3_0
private final int jjMoveStringLiteralDfa3_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa4_0
private final int jjMoveStringLiteralDfa4_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa5_0
private final int jjMoveStringLiteralDfa5_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa6_0
private final int jjMoveStringLiteralDfa6_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa7_0
private final int jjMoveStringLiteralDfa7_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa8_0
private final int jjMoveStringLiteralDfa8_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa9_0
private final int jjMoveStringLiteralDfa9_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa10_0
private final int jjMoveStringLiteralDfa10_0(long old0,
long active0,
long old1,
long active1)
jjMoveStringLiteralDfa11_0
private final int jjMoveStringLiteralDfa11_0(long old0,
long active0,
long old1,
long active1)
jjCheckNAdd
private final void jjCheckNAdd(int state)
jjAddStates
private final void jjAddStates(int start,
int end)
jjCheckNAddTwoStates
private final void jjCheckNAddTwoStates(int state1,
int state2)
jjCheckNAddStates
private final void jjCheckNAddStates(int start,
int end)
jjCheckNAddStates
private final void jjCheckNAddStates(int start)
jjMoveNfa_0
private final int jjMoveNfa_0(int startState,
int curPos)
jjMoveStringLiteralDfa0_3
private final int jjMoveStringLiteralDfa0_3()
jjMoveStringLiteralDfa1_3
private final int jjMoveStringLiteralDfa1_3(long active0)
jjMoveStringLiteralDfa0_1
private final int jjMoveStringLiteralDfa0_1()
jjMoveNfa_1
private final int jjMoveNfa_1(int startState,
int curPos)
jjMoveStringLiteralDfa0_2
private final int jjMoveStringLiteralDfa0_2()
jjMoveStringLiteralDfa1_2
private final int jjMoveStringLiteralDfa1_2(long active0)
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(JavaCharStream stream)
ReInitRounds
private final void ReInitRounds()
ReInit
public void ReInit(JavaCharStream stream,
int lexState)
SwitchTo
public void SwitchTo(int lexState)
jjFillToken
private final Token jjFillToken()
getNextToken
public Token getNextToken()
SkipLexicalActions
final void SkipLexicalActions(Token matchedToken)