Class Tag
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.Tag
-
- All Implemented Interfaces:
Exportable
public class Tag extends java.lang.Object implements Exportable
-
-
Field Summary
Fields Modifier and Type Field Description private FunctionType
functionType
private java.lang.String
label
-
Constructor Summary
Constructors Modifier Constructor Description protected
Tag(java.lang.String label, FunctionType functionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
void
writeRefTo(TextWriter textWriter)
void
writeTo(BinaryWriter.SectionWriter sectionWriter)
void
writeTo(TextWriter textWriter)
-
-
-
Field Detail
-
label
private final java.lang.String label
-
functionType
private final FunctionType functionType
-
-
Constructor Detail
-
Tag
protected Tag(java.lang.String label, FunctionType functionType)
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
-
writeTo
public void writeTo(BinaryWriter.SectionWriter sectionWriter) throws java.io.IOException
- Throws:
java.io.IOException
-
writeTo
public void writeTo(TextWriter textWriter)
-
writeRefTo
public void writeRefTo(TextWriter textWriter)
- Specified by:
writeRefTo
in interfaceExportable
-
-