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 WasmType
elementType
private TypesSection
section
-
Constructor Summary
Constructors Constructor Description ArrayType(TypesSection section, WasmType elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WasmType
getElementType()
int
index()
void
writeRefTo(TextWriter writer)
void
writeTo(BinaryWriter.Writer writer)
void
writeTo(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:
writeRefTo
in interfaceWasmType
-
writeTo
public void writeTo(BinaryWriter.Writer writer) throws java.io.IOException
-
-