Class AsyncIteratorPrototypeBuiltins.AsyncIteratorUnwrapYieldResumptionRootNode<T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs>
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.js.runtime.JavaScriptRootNode
com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorRootNode<T>
com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AbstractAsyncIteratorGeneratorResumptionRootNode<T>
com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionRootNode<T>
com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorUnwrapYieldResumptionRootNode<T>
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,AsyncHandlerRootNode,Cloneable
- Direct Known Subclasses:
AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapUnwrapYieldResumptionRootNode
- Enclosing class:
AsyncIteratorPrototypeBuiltins
protected static class AsyncIteratorPrototypeBuiltins.AsyncIteratorUnwrapYieldResumptionRootNode<T extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs>
extends AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionRootNode<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode
AsyncHandlerRootNode.AsyncStackTraceInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode<AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorArgs> protected GetMethodNodeprotected IsJSObjectNodeFields inherited from class com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorRootNode
context, valueNodeFields inherited from class com.oracle.truffle.js.runtime.JavaScriptRootNode
MODULE_DUMMY_FRAMEDESCRIPTOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAsyncIteratorUnwrapYieldResumptionRootNode(JSContext context, boolean closeResumption) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectcallReturn(Object iterator, Object returnMethod) protected static JSFunctionDataResumption of UnwrapYieldResumption: Await(resumptionValue.[[Value]]).protected static JSFunctionDataResumption of AsyncIteratorClose: Await(innerResult.[[Value]]) with normal completion.executeBody(com.oracle.truffle.api.frame.VirtualFrame frame) Methods inherited from class com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionRootNode
assertResumingAwait, executeMethods inherited from class com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AbstractAsyncIteratorGeneratorResumptionRootNode
asyncGeneratorComplete, asyncGeneratorCompleteStep, getErrorObjectMethods inherited from class com.oracle.truffle.js.builtins.AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorRootNode
callReject, callResolve, getArgs, getAsyncStackTraceInfo, getThis, indexToJSMethods inherited from class com.oracle.truffle.js.runtime.JavaScriptRootNode
countsTowardsStackTraceLimit, findAsynchronousFrames, getLanguage, getRealm, getSourceSection, isCaptureFramesForTrace, isFunction, isInternal, isResumptionMethods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, createConstantNode, findAsynchronousFrames, findBytecodeIndex, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isSameFrame, isTrivial, prepareForAOT, translateStackTraceElementMethods inherited from class com.oracle.truffle.api.nodes.ExecutableNode
getLanguage, getLanguageInfoMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.js.nodes.promise.AsyncHandlerRootNode
getAsyncStackTraceInfo
-
Field Details
-
getReturnNode
-
awaitReturnResult
-
isObjectNode
-
-
Constructor Details
-
AsyncIteratorUnwrapYieldResumptionRootNode
-
-
Method Details
-
executeBody
-
callReturn
-
createCreateUnwrapYieldResumptionCloseImpl
Resumption of UnwrapYieldResumption: Await(resumptionValue.[[Value]]). Continues with AsyncIteratorClose(iterated, awaitedValue) and either awaits or returns; -
createCreateUnwrapYieldResumptionCloseResumptionImpl
protected static JSFunctionData createCreateUnwrapYieldResumptionCloseResumptionImpl(JSContext context) Resumption of AsyncIteratorClose: Await(innerResult.[[Value]]) with normal completion. Checks that innerResult is an object and returns from the generator.
-