Class Expressions
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.Expressions
-
public class Expressions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Expressions.Array
-
Field Summary
Fields Modifier and Type Field Description Expressions.Array
array
private Container
parent
-
Constructor Summary
Constructors Constructor Description Expressions(Container parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
block(java.lang.String label)
void
branch(LabeledContainer surroundingBlock)
void
comment(java.lang.String message)
void
drop(WasmValue value)
Iff
iff(java.lang.String label, WasmValue condition)
Loop
loop(java.lang.String label)
Container
parent()
void
ret()
void
ret(WasmValue value)
void
rethrowException(LabeledContainer tryBlock)
void
setGlobal(Global global, WasmValue value)
void
setLocal(Local local, WasmValue value)
void
setStruct(StructType structType, WasmValue target, java.lang.String fieldName, WasmValue value)
void
throwException(Tag exception, java.util.List<WasmValue> arguments)
Try
Try(java.lang.String label, Tag catchTag)
void
unreachable()
void
voidCall(Callable function, java.util.List<WasmValue> arguments)
void
voidCallIndirect(FunctionType functionType, java.util.List<WasmValue> arguments, WasmValue tableIndex)
-
-
-
Field Detail
-
parent
private final Container parent
-
array
public final Expressions.Array array
-
-
Constructor Detail
-
Expressions
Expressions(Container parent)
-
-
Method Detail
-
parent
public Container parent()
-
comment
public void comment(java.lang.String message)
-
voidCallIndirect
public void voidCallIndirect(FunctionType functionType, java.util.List<WasmValue> arguments, WasmValue tableIndex)
-
block
public Block block(java.lang.String label)
-
loop
public Loop loop(java.lang.String label)
-
branch
public void branch(LabeledContainer surroundingBlock)
-
ret
public void ret(WasmValue value)
-
ret
public void ret()
-
drop
public void drop(WasmValue value)
-
unreachable
public void unreachable()
-
setStruct
public void setStruct(StructType structType, WasmValue target, java.lang.String fieldName, WasmValue value)
-
rethrowException
public void rethrowException(LabeledContainer tryBlock)
-
-