Enum Precedence
- java.lang.Object
-
- java.lang.Enum<Precedence>
-
- org.teavm.backend.javascript.rendering.Precedence
-
- All Implemented Interfaces:
Serializable,Comparable<Precedence>
public enum Precedence extends Enum<Precedence>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONASSIGNMENTBITWISE_ANDBITWISE_ORBITWISE_SHIFTBITWISE_XORCOMMACOMPARISONCONDITIONALEQUALITYFUNCTION_CALLGROUPINGLOGICAL_ANDLOGICAL_ORMEMBER_ACCESSMULTIPLICATIONNEWUNARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Precedencemin()Precedencenext()Precedenceprevious()static PrecedencevalueOf(String name)Returns the enum constant of this type with the specified name.static Precedence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
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 Detail
-
values
public static Precedence[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Precedence c : Precedence.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Precedence valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
next
public Precedence next()
-
previous
public Precedence previous()
-
min
public static Precedence min()
-
-