Package net.sourceforge.pmd.lang.cpp.ast
Class CppParserTokenManager
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractTokenManager
-
- net.sourceforge.pmd.lang.cpp.ast.CppParserTokenManager
-
- All Implemented Interfaces:
CppParserConstants
@Deprecated @InternalApi public class CppParserTokenManager extends net.sourceforge.pmd.lang.ast.AbstractTokenManager implements CppParserConstants
Deprecated.Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected charcurCharDeprecated.PrintStreamdebugStreamDeprecated.Debug output.protected net.sourceforge.pmd.lang.ast.CharStreaminput_streamDeprecated.static int[]jjnewLexStateDeprecated.Lex State array.static String[]jjstrLiteralImagesDeprecated.Token literal values.static String[]lexStateNamesDeprecated.Lexer state names.-
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractTokenManager
suppressMap, suppressMarker
-
Fields inherited from interface net.sourceforge.pmd.lang.cpp.ast.CppParserConstants
_DEFAULT, AMPERSAND, AND, ARROWSTAR, ASSIGNEQUAL, AT, AUTO, BITWISEANDEQUAL, BITWISEOR, BITWISEOREQUAL, BITWISEXOR, BITWISEXOREQUAL, BREAK, CASE, CATCH, CHAR, CHARACTER, CHRPREF, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMALDIGIT, DECIMALINT, DECIMALLONG, DEFAULT, DELETE, DIVIDE, DIVIDEEQUAL, DO, DOT, DOTSTAR, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQUAL, EXTERN, FALSETOK, FINALLY, FLOAT, FLOATONE, FLOATTWO, FOR, FRIEND, GOTO, GREATERTHAN, GREATERTHANOREQUALTO, HEXADECIMALINT, HEXADECIMALLONG, ID, IF, IN_MULTI_LINE_COMMENT, IN_PREPROCESSOR_OUTPUT_COMMENT, INLINE, INT, LCURLYBRACE, LESSTHAN, LESSTHANOREQUALTO, LONG, LPARENTHESIS, LSQUAREBRACKET, MINUS, MINUSEQUAL, MINUSMINUS, MOD, MODEQUAL, MULTI_LINE_COMMENT, NEW, NOT, NOTEQUAL, OCTALINT, OCTALLONG, OPERATOR, OR, PLUS, PLUSEQUAL, PLUSPLUS, POINTERTO, PREPROCESSOR_OUTPUT, PREPROCESSOR_OUTPUT_COMMENT, PRIVATE, PROTECTED, PUBLIC, QUESTIONMARK, RCURLYBRACE, REDECLARED, REGISTER, RETURN, RPARENTHESIS, RSQUAREBRACKET, RSTRING, SCOPE, SEMICOLON, SHIFTLEFT, SHIFTLEFTEQUAL, SHIFTRIGHT, SHIFTRIGHTEQUAL, SHORT, SIGNED, SINGLE_LINE_COMMENT, SIZEOF, STAR, STATIC, STRING, STRPREF, 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
-
-
Constructor Summary
Constructors Constructor Description CppParserTokenManager(net.sourceforge.pmd.lang.ast.CharStream stream)Deprecated.Constructor.CppParserTokenManager(net.sourceforge.pmd.lang.ast.CharStream stream, int lexState)Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TokengetNextToken()Deprecated.Get the next Token.protected TokenjjFillToken()Deprecated.voidReInit(net.sourceforge.pmd.lang.ast.CharStream stream)Deprecated.Reinitialise parser.voidReInit(net.sourceforge.pmd.lang.ast.CharStream stream, int lexState)Deprecated.Reinitialise parser.voidsetDebugStream(PrintStream ds)Deprecated.Set debug output.voidSwitchTo(int lexState)Deprecated.Switch to specified lex state.
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
Deprecated.Debug output.
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
Deprecated.Token literal values.
-
lexStateNames
public static final String[] lexStateNames
Deprecated.Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Deprecated.Lex State array.
-
input_stream
protected net.sourceforge.pmd.lang.ast.CharStream input_stream
Deprecated.
-
curChar
protected char curChar
Deprecated.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
Deprecated.Set debug output.
-
ReInit
public void ReInit(net.sourceforge.pmd.lang.ast.CharStream stream)
Deprecated.Reinitialise parser.
-
ReInit
public void ReInit(net.sourceforge.pmd.lang.ast.CharStream stream, int lexState)Deprecated.Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Deprecated.Switch to specified lex state.
-
jjFillToken
protected Token jjFillToken()
Deprecated.
-
getNextToken
public Token getNextToken()
Deprecated.Get the next Token.
-
-