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
public abstract class BinaryExpression extends java.lang.Object implements WasmExpression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.mirkosertic.bytecoder.core.backend.wasm.ast.WasmValue
WasmValue.ExportContext
-
-
Field Summary
Fields Modifier and Type Field Description private bytebinaryCodeprivate WasmValueleftValueprivate WasmValuerightValueprivate java.lang.StringtextCode
-
Constructor Summary
Constructors Modifier Constructor Description protectedBinaryExpression(WasmValue leftValue, WasmValue rightValue, java.lang.String textCode, byte binaryCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteTo(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context)voidwriteTo(TextWriter textWriter, WasmValue.ExportContext context)
-
-
-
Method Detail
-
writeTo
public final void writeTo(TextWriter textWriter, WasmValue.ExportContext context) throws java.io.IOException
-
writeTo
public final void writeTo(BinaryWriter.Writer codeWriter, WasmValue.ExportContext context) throws java.io.IOException
-
-