static enum Yytoken.Types extends Enum<Yytoken.Types>
Enum Constant and Description |
---|
COLON
Tokens of this type will always have a value of ":"
|
COMMA
Tokens of this type will always have a value of ","
|
DATUM
Tokens of this type will always have a value that is a boolean, null, number, or string.
|
END
Tokens of this type will always have a value of ""
|
LEFT_BRACE
Tokens of this type will always have a value of "{"
|
LEFT_SQUARE
Tokens of this type will always have a value of "["
|
RIGHT_BRACE
Tokens of this type will always have a value of "}"
|
RIGHT_SQUARE
Tokens of this type will always have a value of "]"
|
Modifier and Type | Method and Description |
---|---|
static Yytoken.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Yytoken.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Yytoken.Types COLON
public static final Yytoken.Types COMMA
public static final Yytoken.Types DATUM
public static final Yytoken.Types END
public static final Yytoken.Types LEFT_BRACE
public static final Yytoken.Types LEFT_SQUARE
public static final Yytoken.Types RIGHT_BRACE
public static final Yytoken.Types RIGHT_SQUARE
public static Yytoken.Types[] values()
for (Yytoken.Types c : Yytoken.Types.values()) System.out.println(c);
public static Yytoken.Types 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