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