Class UnaryExpression
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.UnaryExpression
- All Implemented Interfaces:
WasmExpression
,WasmValue
- Direct Known Subclasses:
F32Ceil
,F32ConvertSI32
,F32ConvertSI64
,F32DemoteF64
,F32Floor
,F32Nearest
,F32Neg
,F32ReinterpretI32
,F32Sqrt
,F32Trunc
,F64ConvertSI32
,F64ConvertSI64
,F64Neg
,F64PromoteF32
,F64ReinterpretI64
,F64Trunc
,I32Clz
,I32Ctz
,I32Eqz
,I32Popcount
,I32ReinterpretF32
,I32TruncSF32
,I32TruncSF64
,I32WrapI64
,I64ExtendI32S
,I64ReinterpretF64
,I64TruncSF32
,I64TruncSF64
,RefIsNull
,ReturnValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.mirkosertic.bytecoder.core.backend.wasm.ast.WasmValue
WasmValue.ExportContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UnaryExpression
(WasmValue value, String textCode, byte binaryCode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context) void
writeTo
(TextWriter textWriter, WasmValue.ExportContext context)
-
Field Details
-
value
-
textCode
-
binaryCode
private final byte binaryCode
-
-
Constructor Details
-
UnaryExpression
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceWasmValue
- Throws:
IOException
-
writeTo
public void writeTo(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context) throws IOException - Specified by:
writeTo
in interfaceWasmValue
- Throws:
IOException
-