java.lang.Object
java.lang.Enum<TokenFlags>
com.hypixel.hytale.server.npc.util.expression.compile.TokenFlags
All Implemented Interfaces:
Serializable, Comparable<TokenFlags>, Constable

public enum TokenFlags extends Enum<TokenFlags>
  • Enum Constant Details

    • OPERAND

      public static final TokenFlags OPERAND
    • LITERAL

      public static final TokenFlags LITERAL
    • OPERATOR

      public static final TokenFlags OPERATOR
    • RIGHT_TO_LEFT

      public static final TokenFlags RIGHT_TO_LEFT
    • UNARY

      public static final TokenFlags UNARY
    • OPENING_BRACKET

      public static final TokenFlags OPENING_BRACKET
    • CLOSING_BRACKET

      public static final TokenFlags CLOSING_BRACKET
    • LIST

      public static final TokenFlags LIST
    • OPENING_TUPLE

      public static final TokenFlags OPENING_TUPLE
  • Constructor Details

    • TokenFlags

      private TokenFlags()
  • Method Details

    • values

      public static TokenFlags[] 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 TokenFlags 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