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