public enum WebAssemblyValueType extends Enum<WebAssemblyValueType>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
anyfunc |
externref |
f32 |
f64 |
i32 |
i64 |
v128 |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue(JSRealm realm) |
boolean |
isReference() |
static WebAssemblyValueType |
lookupType(String type) |
static WebAssemblyValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebAssemblyValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebAssemblyValueType i32
public static final WebAssemblyValueType i64
public static final WebAssemblyValueType f32
public static final WebAssemblyValueType f64
public static final WebAssemblyValueType v128
public static final WebAssemblyValueType anyfunc
public static final WebAssemblyValueType externref
public static WebAssemblyValueType[] values()
public static WebAssemblyValueType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isReference()
public static WebAssemblyValueType lookupType(String type)