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 classExpressions.Array
-
Field Summary
Fields Modifier and Type Field Description Expressions.Arrayarrayprivate Containerparent
-
Constructor Summary
Constructors Constructor Description Expressions(Container parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blockblock(java.lang.String label)voidbranch(LabeledContainer surroundingBlock)voidcomment(java.lang.String message)voiddrop(WasmValue value)Iffiff(java.lang.String label, WasmValue condition)Looploop(java.lang.String label)Containerparent()voidret()voidret(WasmValue value)voidrethrowException(LabeledContainer tryBlock)voidsetGlobal(Global global, WasmValue value)voidsetLocal(Local local, WasmValue value)voidsetStruct(StructType structType, WasmValue target, java.lang.String fieldName, WasmValue value)voidthrowException(Tag exception, java.util.List<WasmValue> arguments)TryTry(java.lang.String label, Tag catchTag)voidunreachable()voidvoidCall(Callable function, java.util.List<WasmValue> arguments)voidvoidCallIndirect(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)
-
-