Enum WasmIntBinaryOperation
- java.lang.Object
-
- java.lang.Enum<WasmIntBinaryOperation>
-
- org.teavm.backend.wasm.model.expression.WasmIntBinaryOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WasmIntBinaryOperation>
public enum WasmIntBinaryOperation extends java.lang.Enum<WasmIntBinaryOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDANDDIV_SIGNEDDIV_UNSIGNEDEQGE_SIGNEDGE_UNSIGNEDGT_SIGNEDGT_UNSIGNEDLE_SIGNEDLE_UNSIGNEDLT_SIGNEDLT_UNSIGNEDMULNEORREM_SIGNEDREM_UNSIGNEDROTLROTRSHLSHR_SIGNEDSHR_UNSIGNEDSUBXOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WasmIntBinaryOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WasmIntBinaryOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final WasmIntBinaryOperation ADD
-
SUB
public static final WasmIntBinaryOperation SUB
-
MUL
public static final WasmIntBinaryOperation MUL
-
DIV_SIGNED
public static final WasmIntBinaryOperation DIV_SIGNED
-
DIV_UNSIGNED
public static final WasmIntBinaryOperation DIV_UNSIGNED
-
REM_SIGNED
public static final WasmIntBinaryOperation REM_SIGNED
-
REM_UNSIGNED
public static final WasmIntBinaryOperation REM_UNSIGNED
-
OR
public static final WasmIntBinaryOperation OR
-
AND
public static final WasmIntBinaryOperation AND
-
XOR
public static final WasmIntBinaryOperation XOR
-
SHL
public static final WasmIntBinaryOperation SHL
-
SHR_SIGNED
public static final WasmIntBinaryOperation SHR_SIGNED
-
SHR_UNSIGNED
public static final WasmIntBinaryOperation SHR_UNSIGNED
-
ROTL
public static final WasmIntBinaryOperation ROTL
-
ROTR
public static final WasmIntBinaryOperation ROTR
-
EQ
public static final WasmIntBinaryOperation EQ
-
NE
public static final WasmIntBinaryOperation NE
-
LT_SIGNED
public static final WasmIntBinaryOperation LT_SIGNED
-
LT_UNSIGNED
public static final WasmIntBinaryOperation LT_UNSIGNED
-
LE_SIGNED
public static final WasmIntBinaryOperation LE_SIGNED
-
LE_UNSIGNED
public static final WasmIntBinaryOperation LE_UNSIGNED
-
GT_SIGNED
public static final WasmIntBinaryOperation GT_SIGNED
-
GT_UNSIGNED
public static final WasmIntBinaryOperation GT_UNSIGNED
-
GE_SIGNED
public static final WasmIntBinaryOperation GE_SIGNED
-
GE_UNSIGNED
public static final WasmIntBinaryOperation GE_UNSIGNED
-
-
Method Detail
-
values
public static WasmIntBinaryOperation[] 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 (WasmIntBinaryOperation c : WasmIntBinaryOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WasmIntBinaryOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-