public static class AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected JSFunctionCallNode |
callNode |
protected PropertyGetNode |
getConstructorNode |
protected NewPromiseCapabilityNode |
newPromiseCapabilityNode |
protected PerformPromiseThenNode |
performPromiseThenNode |
static com.oracle.truffle.api.object.HiddenKey |
THIS_ID |
| Constructor and Description |
|---|
AsyncIteratorAwaitNode(JSContext context,
JSContext.BuiltinFunctionKey thenKey,
Function<JSContext,JSFunctionData> thenCreate,
JSContext.BuiltinFunctionKey catchKey,
Function<JSContext,JSFunctionData> catchCreate) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static final com.oracle.truffle.api.object.HiddenKey THIS_ID
protected JSFunctionCallNode callNode
protected PropertyGetNode getConstructorNode
protected NewPromiseCapabilityNode newPromiseCapabilityNode
protected PerformPromiseThenNode performPromiseThenNode
public AsyncIteratorAwaitNode(JSContext context, JSContext.BuiltinFunctionKey thenKey, Function<JSContext,JSFunctionData> thenCreate, JSContext.BuiltinFunctionKey catchKey, Function<JSContext,JSFunctionData> catchCreate)
public final JSDynamicObject execute(com.oracle.truffle.api.frame.VirtualFrame frame, Object promiseOrValue, T args)
public final JSDynamicObject executeThis(Object promiseOrValue, T args, Object thisObj)
protected final JSFunctionObject createFunctionWithArgs(AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs args, JSFunctionData functionData)
public JSFunctionObject createFunction(T args)
public static <T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<T> create(JSContext context, JSContext.BuiltinFunctionKey key, Function<JSContext,JSFunctionData> create, boolean closeOnAbrupt)
public static <T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<T> createGen(JSContext context, JSContext.BuiltinFunctionKey key, Function<JSContext,JSFunctionData> create, boolean closeOnAbrupt)
public static <T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<T> create(JSContext context, JSContext.BuiltinFunctionKey thenKey, Function<JSContext,JSFunctionData> thenCreate, JSContext.BuiltinFunctionKey catchKey, Function<JSContext,JSFunctionData> catchCreate)
public static <T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<T> createGeneratorYield(JSContext context)