Class AsyncIteratorCloseNode.AsyncIteratorCloseRootNode
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.nodes.access.AsyncIteratorCloseNode.AsyncIteratorCloseRootNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, AsyncHandlerRootNode, Cloneable
- Enclosing class:
AsyncIteratorCloseNode
public static class AsyncIteratorCloseNode.AsyncIteratorCloseRootNode
extends JavaScriptRootNode
implements AsyncHandlerRootNode
-
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 AsyncHandlerRootNode
AsyncHandlerRootNode.AsyncStackTraceInfo -
Field Summary
FieldsFields inherited from class JavaScriptRootNode
MODULE_DUMMY_FRAMEDESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionexecute(com.oracle.truffle.api.frame.VirtualFrame frame) getAsyncStackTraceInfo(JSFunctionObject handlerFunction) Extract the stack trace element and the promise associated with this handler, both optional.Methods inherited from class 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, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isSameFrame, isTrivial, prepareForAOT, prepareForCall, prepareForCompilation, prepareForInstrumentation, 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, reportReplace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AsyncHandlerRootNode
getAsyncStackTraceInfo
-
Field Details
-
valueNode
-
-
Method Details
-
execute
- Specified by:
executein classcom.oracle.truffle.api.nodes.RootNode
-
getAsyncStackTraceInfo
public AsyncHandlerRootNode.AsyncStackTraceInfo getAsyncStackTraceInfo(JSFunctionObject handlerFunction) Description copied from interface:AsyncHandlerRootNodeExtract the stack trace element and the promise associated with this handler, both optional.- Specified by:
getAsyncStackTraceInfoin interfaceAsyncHandlerRootNode- Parameters:
handlerFunction- The handler callback function of the promise reaction.
-