public static enum Token.Type extends Enum<Token.Type>
Enum Constant and Description |
---|
ArrayEnd |
ArrayStart |
CGCallParamsEnd |
CGCallParamsStart |
Comma |
DocumentEnd |
Identificator |
KeyValueSeparator |
Number |
ObjectEnd |
ObjectStart |
String |
Modifier and Type | Method and Description |
---|---|
static Token.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Type DocumentEnd
public static final Token.Type ObjectStart
public static final Token.Type ObjectEnd
public static final Token.Type ArrayStart
public static final Token.Type ArrayEnd
public static final Token.Type CGCallParamsStart
public static final Token.Type CGCallParamsEnd
public static final Token.Type Comma
public static final Token.Type KeyValueSeparator
public static final Token.Type Number
public static final Token.Type String
public static final Token.Type Identificator
public static Token.Type[] values()
for (Token.Type c : Token.Type.values()) System.out.println(c);
public static Token.Type 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 null