Enum Class Yytoken.Kind

java.lang.Object
java.lang.Enum<Yytoken.Kind>
org.jolokia.json.parser.Yytoken.Kind
All Implemented Interfaces:
Serializable, Comparable<Yytoken.Kind>, java.lang.constant.Constable
Enclosing class:
Yytoken

public static enum Yytoken.Kind extends Enum<Yytoken.Kind>

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.

  • Enum Constant Details

    • VALUE_INTEGER

      public static final Yytoken.Kind VALUE_INTEGER
    • VALUE_DECIMAL

      public static final Yytoken.Kind VALUE_DECIMAL
    • VALUE_STRING

      public static final Yytoken.Kind VALUE_STRING
    • VALUE_BOOLEAN

      public static final Yytoken.Kind VALUE_BOOLEAN
    • VALUE_NULL

      public static final Yytoken.Kind VALUE_NULL
    • SYMBOL_LEFT_BRACE

      public static final Yytoken.Kind SYMBOL_LEFT_BRACE
    • SYMBOL_RIGHT_BRACE

      public static final Yytoken.Kind SYMBOL_RIGHT_BRACE
    • SYMBOL_LEFT_SQUARE

      public static final Yytoken.Kind SYMBOL_LEFT_SQUARE
    • SYMBOL_RIGHT_SQUARE

      public static final Yytoken.Kind SYMBOL_RIGHT_SQUARE
    • SYMBOL_COMMA

      public static final Yytoken.Kind SYMBOL_COMMA
    • SYMBOL_COLON

      public static final Yytoken.Kind SYMBOL_COLON
  • Method Details

    • values

      public static Yytoken.Kind[] 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

      public static Yytoken.Kind valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isValueToken

      public boolean isValueToken()