Class BinaryExpression
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.BinaryExpression
- All Implemented Interfaces:
WasmExpression, WasmValue
- Direct Known Subclasses:
F32Add, F32CopySign, F32Div, F32Eq, F32Ge, F32Gt, F32Le, F32Lt, F32Max, F32Min, F32Mul, F32Ne, F32Sub, F64Add, F64Div, F64Eq, F64Ge, F64Gt, F64Le, F64Lt, F64Mul, F64Ne, F64Sub, I32Add, I32And, I32DivS, I32Eq, I32GeS, I32GtS, I32LeS, I32LtS, I32Mul, I32Ne, I32Or, I32RemS, I32Shl, I32ShrS, I32ShrU, I32Sub, I32Xor, I64Add, I64And, I64DivS, I64Eq, I64GeS, I64GtS, I64LeS, I64LtS, I64Mul, I64Ne, I64Or, I64RemS, I64Shl, I64ShrS, I64ShrU, I64Sub, I64Xor, RefEq
-
Nested Class Summary
Nested classes/interfaces inherited from interface WasmValue
WasmValue.ExportContext -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBinaryExpression(WasmValue leftValue, WasmValue rightValue, String textCode, byte binaryCode) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidwriteTo(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context) final voidwriteTo(TextWriter textWriter, WasmValue.ExportContext context)
-
Field Details
-
leftValue
-
rightValue
-
textCode
-
binaryCode
private final byte binaryCode
-
-
Constructor Details
-
BinaryExpression
-
-
Method Details
-
writeTo
public final void writeTo(TextWriter textWriter, WasmValue.ExportContext context) throws IOException - Specified by:
writeToin interfaceWasmValue- Throws:
IOException
-
writeTo
public final void writeTo(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context) throws IOException - Specified by:
writeToin interfaceWasmValue- Throws:
IOException
-