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 FunctionIndexfunctionIndexprivate ContainerowningContainer
-
Constructor Summary
Constructors Constructor Description DefaultExportContext(Container owningContainer, FunctionIndex functionIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablesSection.AnyFuncTableanyFuncTable()FunctionIndexfunctionIndex()GlobalsIndexglobalsIndex()LocalIndexlocalIndex()ContainerowningContainer()WasmValue.ExportContextsubWith(Container container)TagIndextagIndex()
-
-
-
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:
owningContainerin interfaceWasmValue.ExportContext
-
functionIndex
public FunctionIndex functionIndex()
- Specified by:
functionIndexin interfaceWasmValue.ExportContext
-
globalsIndex
public GlobalsIndex globalsIndex()
- Specified by:
globalsIndexin interfaceWasmValue.ExportContext
-
localIndex
public LocalIndex localIndex()
- Specified by:
localIndexin interfaceWasmValue.ExportContext
-
subWith
public WasmValue.ExportContext subWith(Container container)
- Specified by:
subWithin interfaceWasmValue.ExportContext
-
anyFuncTable
public TablesSection.AnyFuncTable anyFuncTable()
- Specified by:
anyFuncTablein interfaceWasmValue.ExportContext
-
tagIndex
public TagIndex tagIndex()
- Specified by:
tagIndexin interfaceWasmValue.ExportContext
-
-