Uses of Class
org.apfloat.calc.Token
-
Packages that use Token Package Description org.apfloat.calc Arbitrary precision calculator interactive application. -
-
Uses of Token in org.apfloat.calc
Fields in org.apfloat.calc declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.private Token
CalculatorParser. jj_lastpos
Token
CalculatorParser. jj_nt
Next token.private Token
CalculatorParser. jj_scanpos
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
Token. specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Token
CalculatorParser. token
Current token.Methods in org.apfloat.calc that return Token Modifier and Type Method Description Token
CalculatorParser. getNextToken()
Get the next Token.Token
CalculatorParserTokenManager. getNextToken()
Get the next Token.Token
CalculatorParser. getToken(int index)
Get the specific Token.private Token
CalculatorParser. jj_consume_token(int kind)
protected Token
CalculatorParserTokenManager. jjFillToken()
static Token
Token. newToken(int ofKind)
static Token
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in org.apfloat.calc with parameters of type Token Modifier and Type Method Description private static java.lang.String
ParseException. initialise(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.(package private) void
CalculatorParserTokenManager. SkipLexicalActions(Token matchedToken)
(package private) void
CalculatorParserTokenManager. TokenLexicalActions(Token matchedToken)
Constructors in org.apfloat.calc with parameters of type Token Constructor Description ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.
-