| Package | Description |
|---|---|
| de.flapdoodle.eval.core.parser |
| Modifier and Type | Method and Description |
|---|---|
TokenType |
ImmutableToken.type() |
TokenType |
Token.type() |
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 |
|---|---|
static ImmutableToken |
ImmutableToken.of(int start,
String value,
TokenType type)
Construct a new immutable
Token instance. |
static Token |
Token.of(int startPosition,
String value,
TokenType type) |
ImmutableToken.Builder |
ImmutableToken.Builder.type(TokenType type)
Initializes the value for the
type attribute. |
ImmutableToken |
ImmutableToken.withType(TokenType value)
Copy the current immutable object by setting a value for the
type attribute. |
Copyright © 2024. All rights reserved.