net.sourceforge.pmd.cpd.cppast
Class CPPParserTokenManager
java.lang.Object
net.sourceforge.pmd.cpd.cppast.CPPParserTokenManager
- All Implemented Interfaces:
- CPPParserConstants
- public class CPPParserTokenManager
- extends java.lang.Object
- implements CPPParserConstants
Fields inherited from interface net.sourceforge.pmd.cpd.cppast.CPPParserConstants |
_DEFAULT, AMPERSAND, AND, ARROWSTAR, ASSIGNEQUAL, AUTO, BITWISEANDEQUAL, BITWISEOR, BITWISEOREQUAL, BITWISEXOR, BITWISEXOREQUAL, BREAK, CASE, CATCH, CHAR, CHARACTER, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMALINT, DECIMALLONG, DEFAULT, DELETE, DIVIDE, DIVIDEEQUAL, DO, DOT, DOTSTAR, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQUAL, EXTERN, FALSETOK, FLOAT, FLOATONE, FLOATTWO, FOR, FRIEND, GOTO, GREATERTHAN, GREATERTHANOREQUALTO, HEXADECIMALINT, HEXADECIMALLONG, ID, IF, IN_COMMENT, IN_LINE_COMMENT, INLINE, INT, LCURLYBRACE, LESSTHAN, LESSTHANOREQUALTO, LONG, LPARENTHESIS, LSQUAREBRACKET, MINUS, MINUSEQUAL, MINUSMINUS, MOD, MODEQUAL, NEW, NOT, NOTEQUAL, OCTALINT, OCTALLONG, OPERATOR, OR, PLUS, PLUSEQUAL, PLUSPLUS, POINTERTO, PREPROCESSOR_OUTPUT, PRIVATE, PROTECTED, PUBLIC, QUESTIONMARK, RCURLYBRACE, REDECLARED, REGISTER, RETURN, RPARENTHESIS, RSQUAREBRACKET, SCOPE, SEMICOLON, SHIFTLEFT, SHIFTLEFTEQUAL, SHIFTRIGHT, SHIFTRIGHTEQUAL, SHORT, SIGNED, SIZEOF, STAR, STATIC, STRING, STRUCT, SWITCH, TEMPLATE, THIS, THROW, TILDE, TIMESEQUAL, tokenImage, TRUETOK, TRY, TYPEDEF, UNION, UNSIGNED, UNSIGNED_DECIMALINT, UNSIGNED_DECIMALLONG, UNSIGNED_HEXADECIMALINT, UNSIGNED_HEXADECIMALLONG, UNSIGNED_OCTALINT, UNSIGNED_OCTALLONG, VIRTUAL, VOID, VOLATILE, WHILE |
Method Summary |
static Token |
getNextToken()
|
private static void |
jjAddStates(int start,
int end)
|
private static void |
jjCheckNAdd(int state)
|
private static void |
jjCheckNAddStates(int start)
|
private static void |
jjCheckNAddStates(int start,
int end)
|
private static void |
jjCheckNAddTwoStates(int state1,
int state2)
|
protected static Token |
jjFillToken()
|
private static int |
jjMoveNfa_0(int startState,
int curPos)
|
private static int |
jjMoveStringLiteralDfa0_0()
|
private static int |
jjMoveStringLiteralDfa0_1()
|
private static int |
jjMoveStringLiteralDfa0_2()
|
private static int |
jjMoveStringLiteralDfa0_3()
|
private static int |
jjMoveStringLiteralDfa1_0(long active0,
long active1,
long active2)
|
private static int |
jjMoveStringLiteralDfa1_2(long active0)
|
private static int |
jjMoveStringLiteralDfa2_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa3_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa4_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa5_0(long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa6_0(long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa7_0(long old1,
long active1,
long old2,
long active2)
|
private static int |
jjMoveStringLiteralDfa8_0(long old1,
long active1)
|
private static int |
jjMoveStringLiteralDfa9_0(long old1,
long active1)
|
private static int |
jjStartNfa_0(int pos,
long active0,
long active1,
long active2)
|
private static int |
jjStartNfaWithStates_0(int pos,
int kind,
int state)
|
private static int |
jjStopAtPos(int pos,
int kind)
|
private static int |
jjStopStringLiteralDfa_0(int pos,
long active0,
long active1,
long active2)
|
static void |
ReInit(SimpleCharStream stream)
|
static void |
ReInit(SimpleCharStream stream,
int lexState)
|
private static void |
ReInitRounds()
|
static void |
setDebugStream(java.io.PrintStream ds)
|
static void |
SwitchTo(int lexState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugStream
public static java.io.PrintStream debugStream
jjbitVec0
static final long[] jjbitVec0
jjnextStates
static final int[] jjnextStates
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
lexStateNames
public static final java.lang.String[] lexStateNames
jjnewLexState
public static final int[] jjnewLexState
jjtoToken
static final long[] jjtoToken
jjtoSkip
static final long[] jjtoSkip
jjtoMore
static final long[] jjtoMore
input_stream
protected static SimpleCharStream input_stream
jjrounds
private static final int[] jjrounds
jjstateSet
private static final int[] jjstateSet
curChar
protected static char curChar
curLexState
static int curLexState
defaultLexState
static int defaultLexState
jjnewStateCnt
static int jjnewStateCnt
jjround
static int jjround
jjmatchedPos
static int jjmatchedPos
jjmatchedKind
static int jjmatchedKind
CPPParserTokenManager
public CPPParserTokenManager(SimpleCharStream stream)
CPPParserTokenManager
public CPPParserTokenManager(SimpleCharStream stream,
int lexState)
setDebugStream
public static void setDebugStream(java.io.PrintStream ds)
jjStopStringLiteralDfa_0
private static final int jjStopStringLiteralDfa_0(int pos,
long active0,
long active1,
long active2)
jjStartNfa_0
private static final int jjStartNfa_0(int pos,
long active0,
long active1,
long active2)
jjStopAtPos
private static final int jjStopAtPos(int pos,
int kind)
jjStartNfaWithStates_0
private static final int jjStartNfaWithStates_0(int pos,
int kind,
int state)
jjMoveStringLiteralDfa0_0
private static final int jjMoveStringLiteralDfa0_0()
jjMoveStringLiteralDfa1_0
private static final int jjMoveStringLiteralDfa1_0(long active0,
long active1,
long active2)
jjMoveStringLiteralDfa2_0
private static final int jjMoveStringLiteralDfa2_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa3_0
private static final int jjMoveStringLiteralDfa3_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa4_0
private static final int jjMoveStringLiteralDfa4_0(long old0,
long active0,
long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa5_0
private static final int jjMoveStringLiteralDfa5_0(long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa6_0
private static final int jjMoveStringLiteralDfa6_0(long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa7_0
private static final int jjMoveStringLiteralDfa7_0(long old1,
long active1,
long old2,
long active2)
jjMoveStringLiteralDfa8_0
private static final int jjMoveStringLiteralDfa8_0(long old1,
long active1)
jjMoveStringLiteralDfa9_0
private static final int jjMoveStringLiteralDfa9_0(long old1,
long active1)
jjCheckNAdd
private static final void jjCheckNAdd(int state)
jjAddStates
private static final void jjAddStates(int start,
int end)
jjCheckNAddTwoStates
private static final void jjCheckNAddTwoStates(int state1,
int state2)
jjCheckNAddStates
private static final void jjCheckNAddStates(int start,
int end)
jjCheckNAddStates
private static final void jjCheckNAddStates(int start)
jjMoveNfa_0
private static final int jjMoveNfa_0(int startState,
int curPos)
jjMoveStringLiteralDfa0_1
private static final int jjMoveStringLiteralDfa0_1()
jjMoveStringLiteralDfa0_3
private static final int jjMoveStringLiteralDfa0_3()
jjMoveStringLiteralDfa0_2
private static final int jjMoveStringLiteralDfa0_2()
jjMoveStringLiteralDfa1_2
private static final int jjMoveStringLiteralDfa1_2(long active0)
ReInit
public static void ReInit(SimpleCharStream stream)
ReInitRounds
private static final void ReInitRounds()
ReInit
public static void ReInit(SimpleCharStream stream,
int lexState)
SwitchTo
public static void SwitchTo(int lexState)
jjFillToken
protected static Token jjFillToken()
getNextToken
public static Token getNextToken()