Class SetStruct
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.SetStruct
- All Implemented Interfaces:
WasmExpression, WasmValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface WasmValue
WasmValue.ExportContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final StructTypeprivate final WasmValueprivate final WasmValue -
Constructor Summary
ConstructorsConstructorDescriptionSetStruct(StructType structType, WasmValue target, String fieldName, WasmValue value) -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(BinaryWriter.Writer binaryWriter, WasmValue.ExportContext context) voidwriteTo(TextWriter writer, WasmValue.ExportContext context)
-
Field Details
-
structType
-
target
-
fieldName
-
value
-
-
Constructor Details
-
SetStruct
SetStruct(StructType structType, WasmValue target, String fieldName, WasmValue value)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWasmValue- Throws:
IOException
-
writeTo
public void writeTo(BinaryWriter.Writer binaryWriter, WasmValue.ExportContext context) throws IOException - Specified by:
writeToin interfaceWasmValue- Throws:
IOException
-