Uses of Enum
org.codehaus.janino.TokenType
Packages that use TokenType
-
Uses of TokenType in org.codehaus.janino
Fields in org.codehaus.janino declared as TokenTypeMethods in org.codehaus.janino that return TokenTypeModifier and TypeMethodDescriptionprivate TokenType
Scanner.scan()
private TokenType
Scanner.scanNumericLiteral()
static TokenType
Returns the enum constant of this type with the specified name.static TokenType[]
TokenType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.codehaus.janino with parameters of type TokenTypeModifier and TypeMethodDescriptionprivate static int
boolean
int
boolean
int
Checks whether the type of the next token is any of the suspected; does not consume the next token.boolean
int
boolean
Parser.peekNextButOne
(TokenType suspected) Checks whether the type of the next token is the suspected; if so, consumes the token.int
Checks whether the type of the next token is one of the suspected; if so, consumes the token.int
Verifies that the type of the next token is the expected, and consumes the token.int
Verifies that the type of the next token is one of the expected, and consumes the token.int
private Token
Constructors in org.codehaus.janino with parameters of type TokenType