public enum ConfigTokenType extends Enum<ConfigTokenType> implements net.morimekta.util.lexer.TokenType
| Enum Constant and Description |
|---|
BINARY |
IDENTIFIER |
NUMBER |
STRING |
SYMBOL |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ConfigTokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigTokenType IDENTIFIER
public static final ConfigTokenType NUMBER
public static final ConfigTokenType STRING
public static final ConfigTokenType SYMBOL
public static final ConfigTokenType BINARY
public static ConfigTokenType[] values()
for (ConfigTokenType c : ConfigTokenType.values()) System.out.println(c);
public static ConfigTokenType 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 nullpublic String toString()
toString in class Enum<ConfigTokenType>Copyright © 2015–2020 morimekta.net. All rights reserved.