Class ArrayType
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ArrayType
-
- All Implemented Interfaces:
ReferencableType,WasmType
public class ArrayType extends java.lang.Object implements ReferencableType
-
-
Field Summary
Fields Modifier and Type Field Description private WasmTypeelementTypeprivate TypesSectionsection
-
Constructor Summary
Constructors Constructor Description ArrayType(TypesSection section, WasmType elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WasmTypegetElementType()intindex()voidwriteRefTo(TextWriter writer)voidwriteTo(BinaryWriter.Writer writer)voidwriteTo(TextWriter writer)
-
-
-
Field Detail
-
section
private final TypesSection section
-
elementType
private final WasmType elementType
-
-
Constructor Detail
-
ArrayType
ArrayType(TypesSection section, WasmType elementType)
-
-
Method Detail
-
getElementType
public WasmType getElementType()
-
writeTo
public void writeTo(TextWriter writer)
-
writeRefTo
public void writeRefTo(TextWriter writer)
- Specified by:
writeRefToin interfaceWasmType
-
writeTo
public void writeTo(BinaryWriter.Writer writer) throws java.io.IOException
-
-