Enum Class Precedence

java.lang.Object
java.lang.Enum<Precedence>
org.teavm.backend.javascript.rendering.Precedence
All Implemented Interfaces:
Serializable, Comparable<Precedence>, Constable

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

    • COMMA

      public static final Precedence COMMA
    • ASSIGNMENT

      public static final Precedence ASSIGNMENT
    • CONDITIONAL

      public static final Precedence CONDITIONAL
    • LOGICAL_OR

      public static final Precedence LOGICAL_OR
    • LOGICAL_AND

      public static final Precedence LOGICAL_AND
    • BITWISE_OR

      public static final Precedence BITWISE_OR
    • BITWISE_XOR

      public static final Precedence BITWISE_XOR
    • BITWISE_AND

      public static final Precedence BITWISE_AND
    • EQUALITY

      public static final Precedence EQUALITY
    • COMPARISON

      public static final Precedence COMPARISON
    • BITWISE_SHIFT

      public static final Precedence BITWISE_SHIFT
    • ADDITION

      public static final Precedence ADDITION
    • MODULO

      public static final Precedence MODULO
    • MULTIPLICATION

      public static final Precedence MULTIPLICATION
    • UNARY

      public static final Precedence UNARY
    • NEW

      public static final Precedence NEW
    • FUNCTION_CALL

      public static final Precedence FUNCTION_CALL
    • MEMBER_ACCESS

      public static final Precedence MEMBER_ACCESS
    • GROUPING

      public static final Precedence GROUPING
  • Method Details

    • values

      public static Precedence[] 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 Precedence 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
    • next

      public Precedence next()
    • previous

      public Precedence previous()
    • min

      public static Precedence min()