Enum WasmBlockOperator
- java.lang.Object
-
- java.lang.Enum<WasmBlockOperator>
-
- de.inetsoftware.jwebassembly.wasm.WasmBlockOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WasmBlockOperator>
public enum WasmBlockOperator extends java.lang.Enum<WasmBlockOperator>
Block operators in the WASM byte code.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK
BR
BR_IF
BR_ON_EXN
BR_ON_NULL
BR_TABLE
CATCH
DROP
ELSE
END
IF
LOOP
MONITOR_ENTER
MONITOR_EXIT
RETHROW
RETURN
THROW
TRY
UNREACHABLE
-
Constructor Summary
Constructors Modifier Constructor Description private
WasmBlockOperator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WasmBlockOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WasmBlockOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RETURN
public static final WasmBlockOperator RETURN
-
IF
public static final WasmBlockOperator IF
-
ELSE
public static final WasmBlockOperator ELSE
-
END
public static final WasmBlockOperator END
-
DROP
public static final WasmBlockOperator DROP
-
BLOCK
public static final WasmBlockOperator BLOCK
-
BR
public static final WasmBlockOperator BR
-
BR_IF
public static final WasmBlockOperator BR_IF
-
BR_TABLE
public static final WasmBlockOperator BR_TABLE
-
BR_ON_NULL
public static final WasmBlockOperator BR_ON_NULL
-
LOOP
public static final WasmBlockOperator LOOP
-
UNREACHABLE
public static final WasmBlockOperator UNREACHABLE
-
TRY
public static final WasmBlockOperator TRY
-
CATCH
public static final WasmBlockOperator CATCH
-
THROW
public static final WasmBlockOperator THROW
-
RETHROW
public static final WasmBlockOperator RETHROW
-
BR_ON_EXN
public static final WasmBlockOperator BR_ON_EXN
-
MONITOR_ENTER
public static final WasmBlockOperator MONITOR_ENTER
-
MONITOR_EXIT
public static final WasmBlockOperator MONITOR_EXIT
-
-
Method Detail
-
values
public static WasmBlockOperator[] 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 (WasmBlockOperator c : WasmBlockOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WasmBlockOperator 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
-
-