| Package | Description |
|---|---|
| org.codehaus.janino |
The core of the Janino JavaTM compiler.
|
| Modifier and Type | Field and Description |
|---|---|
TokenType |
Token.type
The type of this token.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenType |
TokenType.valueOf(String name)
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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TokenStreamImpl.peek(TokenType... suspected) |
int |
TokenStream.peek(TokenType... suspected)
Checks whether the type of the next token is any of the suspected; does not consume the next token.
|
int |
Parser.peek(TokenType... suspected) |
boolean |
TokenStreamImpl.peek(TokenType suspected) |
boolean |
TokenStream.peek(TokenType suspected) |
boolean |
Parser.peek(TokenType suspected) |
boolean |
Parser.peekNextButOne(TokenType suspected) |
int |
TokenStreamImpl.peekRead(TokenType... suspected) |
int |
TokenStream.peekRead(TokenType... suspected)
Checks whether the type of the next token is one of the suspected; if so, consumes the token.
|
String |
TokenStreamImpl.peekRead(TokenType suspected) |
String |
TokenStream.peekRead(TokenType suspected)
Checks whether the type of the next token is the suspected; if so, consumes the token.
|
String |
Parser.peekRead(TokenType suspected) |
int |
TokenStreamImpl.read(TokenType... expected) |
int |
TokenStream.read(TokenType... expected)
Verifies that the type of the next token is one of the expected, and consumes the token.
|
String |
TokenStreamImpl.read(TokenType expected) |
String |
TokenStream.read(TokenType expected)
Verifies that the type of the next token is the expected, and consumes the token.
|
String |
Parser.read(TokenType expected) |
| Constructor and Description |
|---|
Token(Location location,
TokenType type,
String value) |
Token(String optionalFileName,
int lineNumber,
int columnNumber,
TokenType type,
String value) |
Copyright © 2019. All rights reserved.