Class ExportableFunction.DefaultExportContext
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ExportableFunction.DefaultExportContext
-
- All Implemented Interfaces:
WasmValue.ExportContext
- Enclosing class:
- ExportableFunction
private class ExportableFunction.DefaultExportContext extends java.lang.Object implements WasmValue.ExportContext
-
-
Field Summary
Fields Modifier and Type Field Description private FunctionIndex
functionIndex
private Container
owningContainer
-
Constructor Summary
Constructors Constructor Description DefaultExportContext(Container owningContainer, FunctionIndex functionIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablesSection.AnyFuncTable
anyFuncTable()
FunctionIndex
functionIndex()
GlobalsIndex
globalsIndex()
LocalIndex
localIndex()
Container
owningContainer()
WasmValue.ExportContext
subWith(Container container)
TagIndex
tagIndex()
-
-
-
Field Detail
-
owningContainer
private final Container owningContainer
-
functionIndex
private final FunctionIndex functionIndex
-
-
Constructor Detail
-
DefaultExportContext
DefaultExportContext(Container owningContainer, FunctionIndex functionIndex)
-
-
Method Detail
-
owningContainer
public Container owningContainer()
- Specified by:
owningContainer
in interfaceWasmValue.ExportContext
-
functionIndex
public FunctionIndex functionIndex()
- Specified by:
functionIndex
in interfaceWasmValue.ExportContext
-
globalsIndex
public GlobalsIndex globalsIndex()
- Specified by:
globalsIndex
in interfaceWasmValue.ExportContext
-
localIndex
public LocalIndex localIndex()
- Specified by:
localIndex
in interfaceWasmValue.ExportContext
-
subWith
public WasmValue.ExportContext subWith(Container container)
- Specified by:
subWith
in interfaceWasmValue.ExportContext
-
anyFuncTable
public TablesSection.AnyFuncTable anyFuncTable()
- Specified by:
anyFuncTable
in interfaceWasmValue.ExportContext
-
tagIndex
public TagIndex tagIndex()
- Specified by:
tagIndex
in interfaceWasmValue.ExportContext
-
-