Class StructSubtype
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.StructType
de.mirkosertic.bytecoder.core.backend.wasm.ast.StructSubtype
- All Implemented Interfaces:
ReferencableType
,WasmType
-
Nested Class Summary
Nested classes/interfaces inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.StructType
StructType.Field
-
Field Summary
FieldsFields inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.StructType
fields, name, typesSection
-
Constructor Summary
ConstructorsConstructorDescriptionStructSubtype
(TypesSection section, String name, StructType supertype, List<StructType.Field> fields) -
Method Summary
Modifier and TypeMethodDescriptionprivate static List
<StructType.Field> join
(List<StructType.Field> a, List<StructType.Field> b) void
writeRefTo
(TextWriter writer) void
writeTo
(BinaryWriter.Writer writer) void
writeTo
(TextWriter writer) Methods inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.StructType
equals, fieldByName, getFields, getName, hashCode, index, indexOfField
-
Field Details
-
supertype
-
-
Constructor Details
-
StructSubtype
StructSubtype(TypesSection section, String name, StructType supertype, List<StructType.Field> fields)
-
-
Method Details
-
join
-
writeTo
- Specified by:
writeTo
in interfaceWasmType
- Overrides:
writeTo
in classStructType
-
writeRefTo
- Specified by:
writeRefTo
in interfaceWasmType
- Overrides:
writeRefTo
in classStructType
-
writeTo
- Specified by:
writeTo
in interfaceWasmType
- Overrides:
writeTo
in classStructType
- Throws:
IOException
-