Class RefType
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.RefType
- All Implemented Interfaces:
WasmType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
int
hashCode()
int
index()
void
writeRefTo
(TextWriter writer) void
writeTo
(BinaryWriter.Writer writer) void
writeTo
(TextWriter writer)
-
Field Details
-
type
-
nullable
private final boolean nullable
-
-
Constructor Details
-
RefType
RefType(ReferencableType type, boolean nullable)
-
-
Method Details
-
getType
-
writeTo
-
writeRefTo
- Specified by:
writeRefTo
in interfaceWasmType
-
writeTo
- Specified by:
writeTo
in interfaceWasmType
- Throws:
IOException
-
index
public int index() -
equals
-
hashCode
public int hashCode()
-