Enum Class Token.Type

java.lang.Object
java.lang.Enum<Token.Type>
org.verapdf.parser.Token.Type
All Implemented Interfaces:
Serializable, Comparable<Token.Type>, java.lang.constant.Constable
Enclosing class:
Token

public static enum Token.Type extends Enum<Token.Type>
  • Enum Constant Details

    • TT_NONE

      public static final Token.Type TT_NONE
    • TT_KEYWORD

      public static final Token.Type TT_KEYWORD
    • TT_INTEGER

      public static final Token.Type TT_INTEGER
    • TT_REAL

      public static final Token.Type TT_REAL
    • TT_LITSTRING

      public static final Token.Type TT_LITSTRING
    • TT_HEXSTRING

      public static final Token.Type TT_HEXSTRING
    • TT_NAME

      public static final Token.Type TT_NAME
    • TT_OPENARRAY

      public static final Token.Type TT_OPENARRAY
    • TT_CLOSEARRAY

      public static final Token.Type TT_CLOSEARRAY
    • TT_OPENDICT

      public static final Token.Type TT_OPENDICT
    • TT_CLOSEDICT

      public static final Token.Type TT_CLOSEDICT
    • TT_EOF

      public static final Token.Type TT_EOF
    • TT_STARTPROC

      public static final Token.Type TT_STARTPROC
    • TT_ENDPROC

      public static final Token.Type TT_ENDPROC
  • Method Details

    • values

      public static Token.Type[] 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 Token.Type 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