Serializable, Comparable<Token.TokenType>public static enum Token.TokenType extends Enum<Token.TokenType>
| Enum Constant | Description |
|---|---|
Char |
|
Delegate |
|
Number |
|
Operator |
|
Pattern |
|
String |
|
Variable |
| Modifier and Type | Method | Description |
|---|---|---|
static Token.TokenType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Token.TokenType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.TokenType String
public static final Token.TokenType Variable
public static final Token.TokenType Number
public static final Token.TokenType Char
public static final Token.TokenType Operator
public static final Token.TokenType Pattern
public static final Token.TokenType Delegate
public static Token.TokenType[] values()
for (Token.TokenType c : Token.TokenType.values()) System.out.println(c);
public static Token.TokenType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022–2023. All rights reserved.