Class PythonParserTokenManager
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractTokenManager
-
- net.sourceforge.pmd.lang.python.ast.PythonParserTokenManager
-
- All Implemented Interfaces:
PythonParserConstants
@Deprecated @InternalApi public class PythonParserTokenManager extends net.sourceforge.pmd.lang.ast.AbstractTokenManager implements PythonParserConstants
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.python.ast.PythonParserConstants
AND, AND_BOOL, ANDEQ, AS, ASSERT, AT, BACKTICK, BINNUMBER, BREAK, CLASS, COLON, COMMA, COMPLEX, CONTINUATION, CONTINUE, DECNUMBER, DEF, DEFAULT, DEL, DIGIT, DIVIDE, DIVIDEEQ, DOT, ELIF, ELSE, EOF, EQEQUAL, EQGREATER, EQLESS, EQUAL, EXCEPT, EXEC, EXPONENT, FINALLY, FLOAT, FLOORDIVIDE, FLOORDIVIDEEQ, FOR, FROM, GLOBAL, GREATER, HEXNUMBER, IF, IMPORT, IN, IN_BSTRING11, IN_BSTRING13, IN_BSTRING1NLC, IN_BSTRING21, IN_BSTRING23, IN_BSTRING2NLC, IN_STRING11, IN_STRING13, IN_STRING1NLC, IN_STRING21, IN_STRING23, IN_STRING2NLC, IN_USTRING11, IN_USTRING13, IN_USTRING1NLC, IN_USTRING21, IN_USTRING23, IN_USTRING2NLC, IS, LAMBDA, LBRACE, LBRACKET, LESS, LESSGREATER, LETTER, LPAREN, LSHIFT, LSHIFTEQ, MINUS, MINUSEQ, MODULO, MODULOEQ, MULTIPLY, MULTIPLYEQ, NAME, NEWLINE, NOT, NOT_BOOL, NOTEQUAL, OCTNUMBER, OR, OR_BOOL, OREQ, PASS, PLUS, PLUSEQ, POWER, POWEREQ, PRINT, RAISE, RBRACE, RBRACKET, RETURN, RPAREN, RSHIFT, RSHIFTEQ, SEMICOLON, SINGLE_BSTRING, SINGLE_BSTRING2, SINGLE_STRING, SINGLE_STRING2, SINGLE_USTRING, SINGLE_USTRING2, SPACE, tokenImage, TRAILING_COMMENT, TRIPLE_BSTRING, TRIPLE_BSTRING2, TRIPLE_STRING, TRIPLE_STRING2, TRIPLE_USTRING, TRIPLE_USTRING2, TRY, WHILE, WITH, XOR, XOREQ, YIELD
-
-
Constructor Summary
Constructors Constructor Description PythonParserTokenManager(net.sourceforge.pmd.lang.ast.CharStream stream)Deprecated.Constructor.PythonParserTokenManager(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.
-
-