Class TypesSection
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
de.mirkosertic.bytecoder.core.backend.wasm.ast.TypesSection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunctionType
(WasmType returnType) functionType
(List<WasmType> arguments) functionType
(List<WasmType> arguments, WasmType returnType) int
(package private) <T extends WasmType>
Tregister
(T wasmType) structSubtype
(String name, StructType superType, List<StructType.Field> fields) structType
(String name, List<StructType.Field> fields) structTypeByName
(String name) void
writeTo
(BinaryWriter binaryWriter) void
writeTo
(TextWriter textWriter) Methods inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
getModule
-
Field Details
-
types
-
-
Constructor Details
-
TypesSection
TypesSection(Module aModule)
-
-
Method Details
-
functionType
-
functionType
-
functionType
-
structType
-
structSubtype
public StructSubtype structSubtype(String name, StructType superType, List<StructType.Field> fields) -
arrayType
-
register
-
indexOf
-
writeTo
-
writeTo
- Throws:
IOException
-
structTypeByName
-
structTypes
-