Class ExportsSection
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ExportsSection
-
public class ExportsSection extends ModuleSection
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,Exportable>
exports
-
Constructor Summary
Constructors Constructor Description ExportsSection(Module aModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(Exportable exportable, java.lang.String name)
void
writeTo(BinaryWriter binaryWriter, java.util.List<Memory> memoryIndex)
void
writeTo(TextWriter textWriter)
-
Methods inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
getModule
-
-
-
-
Field Detail
-
exports
private final java.util.Map<java.lang.String,Exportable> exports
-
-
Constructor Detail
-
ExportsSection
ExportsSection(Module aModule)
-
-
Method Detail
-
export
public void export(Exportable exportable, java.lang.String name)
-
writeTo
public void writeTo(TextWriter textWriter)
-
writeTo
public void writeTo(BinaryWriter binaryWriter, java.util.List<Memory> memoryIndex) throws java.io.IOException
- Throws:
java.io.IOException
-
-