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) voidwriteRefTo(TextWriter writer) voidwriteTo(BinaryWriter.Writer writer) voidwriteTo(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:
writeToin interfaceWasmType- Overrides:
writeToin classStructType
-
writeRefTo
- Specified by:
writeRefToin interfaceWasmType- Overrides:
writeRefToin classStructType
-
writeTo
- Specified by:
writeToin interfaceWasmType- Overrides:
writeToin classStructType- Throws:
IOException
-