Class ConstExpressions.ref
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ConstExpressions.ref
-
- Enclosing class:
- ConstExpressions
public static class ConstExpressions.ref extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ref()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WasmValuecallRef(FunctionType type, java.util.List<WasmValue> arguments)static Castcast(StructType type, WasmValue value)static WasmValueeq(WasmValue left, WasmValue right)static WasmExternNullRefexternNullRef()static HostTypehost()static WasmValueisnull(WasmValue left)static WasmNullRefnullRef()static WasmFuncRefref(Callable function)static RefTypetype(ReferencableType type, boolean nullable)
-
-
-
Method Detail
-
type
public static RefType type(ReferencableType type, boolean nullable)
-
ref
public static WasmFuncRef ref(Callable function)
-
nullRef
public static WasmNullRef nullRef()
-
externNullRef
public static WasmExternNullRef externNullRef()
-
host
public static HostType host()
-
callRef
public static WasmValue callRef(FunctionType type, java.util.List<WasmValue> arguments)
-
cast
public static Cast cast(StructType type, WasmValue value)
-
-