public class Function extends Container implements Importable, Callable
| Modifier and Type | Method and Description |
|---|---|
WASMType |
getFunctionType() |
String |
getLabel() |
protected Module |
getModule() |
List<Param> |
getParams() |
PrimitiveType |
getResultType() |
int |
resolveIndex(WASMValue.ExportContext context) |
PrimitiveType |
resolveResultType(WASMValue.ExportContext context) |
Function |
toTable() |
void |
writeTo(TextWriter textWriter,
Module aModule) |
addChild, end, findByLabelInHierarchy, getChildren, hasChildren, relativeDepthTo, relativeDepthTopublic void writeTo(TextWriter textWriter, Module aModule) throws IOException
writeTo in interface ImportableIOExceptionprotected Module getModule()
public WASMType getFunctionType()
public PrimitiveType getResultType()
public Function toTable()
public PrimitiveType resolveResultType(WASMValue.ExportContext context)
resolveResultType in interface Callablepublic int resolveIndex(WASMValue.ExportContext context)
resolveIndex in interface CallableCopyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.