Package org.jpmml.python
Class PushbackPythonParserTokenManager
- java.lang.Object
-
- org.jpmml.python.PythonParserTokenManager
-
- org.jpmml.python.PushbackPythonParserTokenManager
-
- All Implemented Interfaces:
PythonParserConstants
public class PushbackPythonParserTokenManager extends PythonParserTokenManager
-
-
Field Summary
-
Fields inherited from class org.jpmml.python.PythonParserTokenManager
debugStream, jjnewLexState, jjstrLiteralImages, lexStateNames
-
Fields inherited from interface org.jpmml.python.PythonParserConstants
AND, ARROW, AS, ASSIGN, COLON, COMMA, COMMENT, DEF, DEFAULT, DIGIT, DIVIDE, DOT, ELIF, ELSE, EOF, EQUAL, EXPONENT, FALSE, FLOAT, GREATER_OR_EQUAL, GREATER_THAN, IF, IMPORT, IN, INT, IS, LBRACKET, LESS_OR_EQUAL, LESS_THAN, LETTER, LPAREN, MINUS, MODULO, MULTILINE_STRING, MULTIPLY, NAME, NEWLINE, NONE, NONZERO_DIGIT, NOT, NOT_EQUAL, OR, PLUS, POWER, RBRACKET, RETURN, RPAREN, SEMICOLON, STRING, TILDE, tokenImage, TRUE, WHITESPACE
-
-
Constructor Summary
Constructors Constructor Description PushbackPythonParserTokenManager(SimpleCharStream simpleCharStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokengetNextToken()Get the next Token.voidpushBack(Token token)voidSwitchTo(int lexState)Switch to specified lex state.-
Methods inherited from class org.jpmml.python.PythonParserTokenManager
ReInit, ReInit, setDebugStream
-
-
-
-
Constructor Detail
-
PushbackPythonParserTokenManager
public PushbackPythonParserTokenManager(SimpleCharStream simpleCharStream)
-
-
Method Detail
-
getNextToken
public Token getNextToken()
Description copied from class:PythonParserTokenManagerGet the next Token.- Overrides:
getNextTokenin classPythonParserTokenManager
-
SwitchTo
public void SwitchTo(int lexState)
Description copied from class:PythonParserTokenManagerSwitch to specified lex state.- Overrides:
SwitchToin classPythonParserTokenManager
-
pushBack
public void pushBack(Token token)
-
-