Class GlobalsSection
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
de.mirkosertic.bytecoder.core.backend.wasm.ast.GlobalsSection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewConstantGlobal(String name, WasmType type, WasmValue initializer) newMutableGlobal(String name, WasmType type, WasmValue initializer) voidwriteTo(BinaryWriter binaryWriter, WasmValue.ExportContext context) voidwriteTo(TextWriter textWriter) Methods inherited from class ModuleSection
getModule
-
Field Details
-
globals
-
-
Constructor Details
-
GlobalsSection
GlobalsSection(Module aModule)
-
-
Method Details
-
newMutableGlobal
-
newConstantGlobal
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
globalsIndex
-