Class StructType
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.StructType
- All Implemented Interfaces:
ReferencableType, WasmType
- Direct Known Subclasses:
StructSubtype
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<StructType.Field> protected final Stringprotected final TypesSection -
Constructor Summary
ConstructorsConstructorDescriptionStructType(TypesSection section, String name, List<StructType.Field> fields) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfieldByName(String fieldName) getName()inthashCode()intindex()intindexOfField(String fieldName) voidwriteRefTo(TextWriter writer) voidwriteTo(BinaryWriter.Writer writer) voidwriteTo(TextWriter writer)
-
Field Details
-
typesSection
-
name
-
fields
-
-
Constructor Details
-
StructType
StructType(TypesSection section, String name, List<StructType.Field> fields)
-
-
Method Details
-
getName
-
writeTo
-
writeRefTo
- Specified by:
writeRefToin interfaceWasmType
-
writeTo
- Specified by:
writeToin interfaceWasmType- Throws:
IOException
-
index
-
getFields
-
equals
-
hashCode
-
indexOfField
-
fieldByName
-