Package org.jolokia.json.parser
Enum Class Yytoken.Kind
- All Implemented Interfaces:
Serializable,Comparable<Yytoken.Kind>,java.lang.constant.Constable
- Enclosing class:
- Yytoken
Token types according to JSON Grammar.
The set of tokens includes six structural characters, strings, numbers, and three literal names
These are the six structural characters: left square bracket, left curly bracket, right square bracket, right curly bracket, colon, comma.
A JSON value MUST be an object, array, number, or string, or one of the following three literal
names: true, false, null.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Yytoken.KindReturns the enum constant of this class with the specified name.static Yytoken.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALUE_INTEGER
-
VALUE_DECIMAL
-
VALUE_STRING
-
VALUE_BOOLEAN
-
VALUE_NULL
-
SYMBOL_LEFT_BRACE
-
SYMBOL_RIGHT_BRACE
-
SYMBOL_LEFT_SQUARE
-
SYMBOL_RIGHT_SQUARE
-
SYMBOL_COMMA
-
SYMBOL_COLON
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isValueToken
public boolean isValueToken()
-