java.lang.Object
com.dylibso.chicory.wasm.types.ValType.ID
- Enclosing class:
ValType
A separate holder class for ID constants.
This is necessary because enum constants are initialized before normal fields, so any reference to an ID constant
in the same class would be considered an invalid forward reference.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisValidOpcode(int opcode) static StringtoName(int opcode)
-
Field Details
-
BOT
public static final int BOT- See Also:
-
RefNull
public static final int RefNull- See Also:
-
Ref
public static final int Ref- See Also:
-
ExternRef
public static final int ExternRef- See Also:
-
ExnRef
public static final int ExnRef- See Also:
-
FuncRef
public static final int FuncRef- See Also:
-
V128
public static final int V128- See Also:
-
F64
public static final int F64- See Also:
-
F32
public static final int F32- See Also:
-
I64
public static final int I64- See Also:
-
I32
public static final int I32- See Also:
-
-
Method Details
-
toName
-
isValidOpcode
public static boolean isValidOpcode(int opcode)
-