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 AbstractTokenManager implements CppParserConstants
Deprecated.Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected char
curChar
Deprecated.PrintStream
debugStream
Deprecated.Debug output.protected CharStream
input_stream
Deprecated.static int[]
jjnewLexState
Deprecated.Lex State array.static String[]
jjstrLiteralImages
Deprecated.Token literal values.static String[]
lexStateNames
Deprecated.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, BINARY_INT_LITERAL, BINARYDIGIT, BITWISEANDEQUAL, BITWISEOR, BITWISEOREQUAL, BITWISEXOR, BITWISEXOREQUAL, BREAK, CASE, CATCH, CHAR, CHARACTER, CHRPREF, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_INT_LITERAL, DECIMALDIGIT, DEFAULT, DELETE, DIVIDE, DIVIDEEQUAL, DO, DOT, DOTSTAR, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQUAL, EXP_PART, EXTERN, FALSETOK, FINALLY, FLOAT, FLOAT_LITERAL, FOR, FRIEND, GOTO, GREATERTHAN, GREATERTHANOREQUALTO, HEXADECIMAL_INT_LITERAL, HEXDIGIT, HEXDIGIT_4, ID, ID_CHAR, ID_START_CHAR, IF, IN_MULTI_LINE_COMMENT, IN_PREPROCESSOR_OUTPUT_COMMENT, INLINE, INT, INT_IN_FLOAT, INT_SUFFIX, LCURLYBRACE, LESSTHAN, LESSTHANOREQUALTO, LONG, LPARENTHESIS, LSQUAREBRACKET, MINUS, MINUSEQUAL, MINUSMINUS, MOD, MODEQUAL, MULTI_LINE_COMMENT, NEW, NOT, NOTEQUAL, OCTAL_INT_LITERAL, OCTALDIGIT, 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, UNICODE_ESCAPE, UNION, UNSIGNED, VIRTUAL, VOID, VOLATILE, WHILE, ZERO
-
-
Constructor Summary
Constructors Constructor Description CppParserTokenManager(CharStream stream)
Deprecated.Constructor.CppParserTokenManager(CharStream stream, int lexState)
Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Token
getNextToken()
Deprecated.Get the next Token.protected Token
jjFillToken()
Deprecated.void
ReInit(CharStream stream)
Deprecated.Reinitialise parser.void
ReInit(CharStream stream, int lexState)
Deprecated.Reinitialise parser.void
setDebugStream(PrintStream ds)
Deprecated.Set debug output.void
SwitchTo(int lexState)
Deprecated.Switch to specified lex state.-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractTokenManager
getFileName, getSuppressMap, setFileName, setSuppressMarker
-
-
-
-
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 CharStream input_stream
Deprecated.
-
curChar
protected char curChar
Deprecated.
-
-
Constructor Detail
-
CppParserTokenManager
public CppParserTokenManager(CharStream stream)
Deprecated.Constructor.
-
CppParserTokenManager
public CppParserTokenManager(CharStream stream, int lexState)
Deprecated.Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
Deprecated.Set debug output.
-
ReInit
public void ReInit(CharStream stream)
Deprecated.Reinitialise parser.
-
ReInit
public void ReInit(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.
-
-