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