Class JavaParserTokenManager
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractTokenManager
-
- net.sourceforge.pmd.lang.java.ast.JavaParserTokenManager
-
- All Implemented Interfaces:
JavaParserConstants
@Deprecated @InternalApi public class JavaParserTokenManager extends AbstractTokenManager implements JavaParserConstants
Deprecated.Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Comment>
comments
Deprecated.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.java.ast.JavaParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ASSIGN, AT, BANG, BINARY_LITERAL, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, ELLIPSIS, ELSE, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_FLOATING_POINT_LITERAL, HEX_LITERAL, HOOK, HORIZONTAL_WHITESPACE, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LAMBDA, LBRACE, LBRACKET, LE, LETTER, LINE_TERMINATOR, LONG, LPAREN, LSHIFT, LSHIFTASSIGN, LT, METHOD_REF, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICTFP, STRING_ESCAPE, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, TEXT_BLOCK_LITERAL, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
-
-
Constructor Summary
Constructors Constructor Description JavaParserTokenManager(CharStream stream)
Deprecated.Constructor.JavaParserTokenManager(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
-
JavaParserTokenManager
public JavaParserTokenManager(CharStream stream)
Deprecated.Constructor.
-
JavaParserTokenManager
public JavaParserTokenManager(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.
-
-