Class RefType
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.RefType
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
nullable
private ReferencableType
type
-
Constructor Summary
Constructors Constructor Description RefType(ReferencableType type, boolean nullable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ReferencableType
getType()
int
hashCode()
int
index()
void
writeRefTo(TextWriter writer)
void
writeTo(BinaryWriter.Writer writer)
void
writeTo(TextWriter writer)
-
-
-
Field Detail
-
type
private final ReferencableType type
-
nullable
private final boolean nullable
-
-
Constructor Detail
-
RefType
RefType(ReferencableType type, boolean nullable)
-
-
Method Detail
-
getType
public ReferencableType getType()
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-