public class WebAssemblyHostFunction extends Object implements com.oracle.truffle.api.interop.TruffleObject
| Constructor and Description |
|---|
WebAssemblyHostFunction(JSContext context,
Object fn,
com.oracle.truffle.api.strings.TruffleString typeInfo) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object[] args,
com.oracle.truffle.api.nodes.Node node,
ToWebAssemblyValueNode toWebAssemblyValueNode,
ToJSValueNode toJSValueNode,
JSFunctionCallNode callNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch,
GetIteratorNode getIteratorNode,
IterableToListNode iterableToListNode,
com.oracle.truffle.api.interop.InteropLibrary self) |
static boolean |
isExecutable(WebAssemblyHostFunction receiver) |
public static final boolean isExecutable(WebAssemblyHostFunction receiver)
public final Object execute(Object[] args, com.oracle.truffle.api.nodes.Node node, ToWebAssemblyValueNode toWebAssemblyValueNode, ToJSValueNode toJSValueNode, JSFunctionCallNode callNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch, GetIteratorNode getIteratorNode, IterableToListNode iterableToListNode, com.oracle.truffle.api.interop.InteropLibrary self)