Class RefType
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.RefType
-
-
Field Summary
Fields Modifier and Type Field Description private booleannullableprivate ReferencableTypetype
-
Constructor Summary
Constructors Constructor Description RefType(ReferencableType type, boolean nullable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ReferencableTypegetType()inthashCode()intindex()voidwriteRefTo(TextWriter writer)voidwriteTo(BinaryWriter.Writer writer)voidwriteTo(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:
writeRefToin interfaceWasmType
-
writeTo
public void writeTo(BinaryWriter.Writer writer) throws java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-