static enum Token.Kind extends java.lang.Enum<Token.Kind>
Enum Constant and Description |
---|
CHARSTRING |
END_ARRAY |
END_DICT |
END_PROC |
INTEGER |
LITERAL |
NAME |
NONE |
REAL |
START_ARRAY |
START_DICT |
START_PROC |
STRING |
Modifier and Type | Method and Description |
---|---|
static Token.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Kind NONE
public static final Token.Kind STRING
public static final Token.Kind NAME
public static final Token.Kind LITERAL
public static final Token.Kind REAL
public static final Token.Kind INTEGER
public static final Token.Kind START_ARRAY
public static final Token.Kind END_ARRAY
public static final Token.Kind START_PROC
public static final Token.Kind END_PROC
public static final Token.Kind START_DICT
public static final Token.Kind END_DICT
public static final Token.Kind CHARSTRING
public static Token.Kind[] values()
for (Token.Kind c : Token.Kind.values()) System.out.println(c);
public static Token.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null