public abstract static class AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorRootNode<T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> extends JavaScriptRootNode implements AsyncHandlerRootNode
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenAsyncHandlerRootNode.AsyncStackTraceInfo| Modifier and Type | Field and Description |
|---|---|
protected JSFunctionCallNode |
callNode |
protected JSContext |
context |
protected JavaScriptNode |
valueNode |
MODULE_DUMMY_FRAMEDESCRIPTOR| Modifier | Constructor and Description |
|---|---|
protected |
AsyncIteratorRootNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
getArgs(com.oracle.truffle.api.frame.VirtualFrame frame) |
AsyncHandlerRootNode.AsyncStackTraceInfo |
getAsyncStackTraceInfo(JSFunctionObject handlerFunction)
Extract the stack trace element and the promise associated with this handler, both optional.
|
protected JSAsyncGeneratorObject |
getThis(com.oracle.truffle.api.frame.VirtualFrame frame) |
protected Object |
indexToJS(long index) |
countsTowardsStackTraceLimit, findAsynchronousFrames, getLanguage, getRealm, getSourceSection, isCaptureFramesForTrace, isFunction, isInternal, isResumptioncloneUninitialized, computeSize, copy, createConstantNode, execute, findAsynchronousFrames, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isSameFrame, isTrivial, prepareForAOT, translateStackTraceElementgetLanguage, getLanguageInfoaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringprotected JavaScriptNode valueNode
protected JSFunctionCallNode callNode
protected final JSContext context
protected AsyncIteratorRootNode(JSContext context)
protected final T getArgs(com.oracle.truffle.api.frame.VirtualFrame frame)
protected final JSAsyncGeneratorObject getThis(com.oracle.truffle.api.frame.VirtualFrame frame)
public AsyncHandlerRootNode.AsyncStackTraceInfo getAsyncStackTraceInfo(JSFunctionObject handlerFunction)
AsyncHandlerRootNodegetAsyncStackTraceInfo in interface AsyncHandlerRootNodeprotected final Object indexToJS(long index)