Class AsyncGeneratorDrainQueueNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.control.AsyncGeneratorCompleteStepNode
com.oracle.truffle.js.nodes.control.AsyncGeneratorAwaitReturnNode
com.oracle.truffle.js.nodes.control.AsyncGeneratorDrainQueueNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
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.Children -
Field Summary
Fields inherited from class AsyncGeneratorAwaitReturnNode
contextFields inherited from class AsyncGeneratorCompleteStepNode
callNode, createIterResultObjectNode -
Method Summary
Modifier and TypeMethodDescriptionfinal voidasyncGeneratorCompleteStepAndDrainQueue(JSAsyncGeneratorObject generator, Completion.Type resultType, Object resultValue) final voidasyncGeneratorDrainQueue(JSAsyncGeneratorObject generator, ArrayDeque<AsyncGeneratorRequest> queue) static AsyncGeneratorDrainQueueNodeMethods inherited from class AsyncGeneratorAwaitReturnNode
asyncGeneratorAwaitReturn, asyncGeneratorRejectBrokenPromise, executeAsyncGeneratorAwaitReturn, getErrorObjectMethods inherited from class AsyncGeneratorCompleteStepNode
asyncGeneratorCompleteStepMethods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
create
-
asyncGeneratorCompleteStepAndDrainQueue
public final void asyncGeneratorCompleteStepAndDrainQueue(JSAsyncGeneratorObject generator, Completion.Type resultType, Object resultValue) -
asyncGeneratorDrainQueue
public final void asyncGeneratorDrainQueue(JSAsyncGeneratorObject generator, ArrayDeque<AsyncGeneratorRequest> queue)
-