public class AsyncIteratorNextNode extends AwaitNode
IteratorNextUnaryNodecontext, expression, readAsyncContextNode, readAsyncResultNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
AsyncIteratorNextNode(JSContext context,
JavaScriptNode iterator,
JSReadFrameSlotNode asyncContextNode,
JSReadFrameSlotNode asyncResultNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static AwaitNode |
create(JSContext context,
JavaScriptNode iterator,
JSReadFrameSlotNode asyncContextNode,
JSReadFrameSlotNode asyncResultNode) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
resume(com.oracle.truffle.api.frame.VirtualFrame frame) |
findAsyncStackFramesFromHandler, findAsyncStackFramesFromPromise, getNodeObject, hasTag, materializeInstrumentableNodes, resumeAwait, suspendAwaitaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetState, getStateAndReset, getStateAsInt, getStateAsIntAndReset, parent, resetState, setStateprotected AsyncIteratorNextNode(JSContext context, JavaScriptNode iterator, JSReadFrameSlotNode asyncContextNode, JSReadFrameSlotNode asyncResultNode)
public static AwaitNode create(JSContext context, JavaScriptNode iterator, JSReadFrameSlotNode asyncContextNode, JSReadFrameSlotNode asyncResultNode)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodepublic Object resume(com.oracle.truffle.api.frame.VirtualFrame frame)
resume in interface ResumableNoderesume in class AwaitNodeprotected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class AwaitNode