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 WasmValue
callRef(FunctionType type, java.util.List<WasmValue> arguments)
static Cast
cast(StructType type, WasmValue value)
static WasmValue
eq(WasmValue left, WasmValue right)
static WasmExternNullRef
externNullRef()
static HostType
host()
static WasmValue
isnull(WasmValue left)
static WasmNullRef
nullRef()
static WasmFuncRef
ref(Callable function)
static RefType
type(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)
-
-