public class AsyncIteratorCloseWrapperNode extends AwaitNode
context, expression, readAsyncContextNode, readAsyncResultNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
AsyncIteratorCloseWrapperNode(JSContext context,
JavaScriptNode loopNode,
JavaScriptNode iteratorNode,
JSReadFrameSlotNode asyncContextNode,
JSReadFrameSlotNode asyncResultNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JavaScriptNode |
create(JSContext context,
JavaScriptNode loopNode,
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) |
create, 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 AsyncIteratorCloseWrapperNode(JSContext context, JavaScriptNode loopNode, JavaScriptNode iteratorNode, JSReadFrameSlotNode asyncContextNode, JSReadFrameSlotNode asyncResultNode)
public static JavaScriptNode create(JSContext context, JavaScriptNode loopNode, 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