Class FunctionIndex
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.FunctionIndex
-
public class FunctionIndex extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FunctionIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Function function)
java.util.List<ExportableFunction>
exportableFunctions()
<T extends Function>
TfirstByLabel(java.lang.String label)
Function
get(int aIndex)
int
indexOf(Function value)
int
size()
-
-
-
Field Detail
-
functions
private final java.util.List<Function> functions
-
-
Method Detail
-
size
public int size()
-
get
public Function get(int aIndex)
-
add
public void add(Function function)
-
indexOf
public int indexOf(Function value)
-
exportableFunctions
public java.util.List<ExportableFunction> exportableFunctions()
-
firstByLabel
public <T extends Function> T firstByLabel(java.lang.String label)
-
-