public static final class AsyncFunctionBodyNode.AsyncFunctionRootNode extends JavaScriptRootNode implements AsyncRootNode
ASYNC_FRAME_INDEX, CALL_TARGET_INDEX, GENERATOR_OBJECT_OR_PROMISE_CAPABILITY_INDEX, STACK_TRACE_INDEX| Modifier and Type | Method and Description |
|---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
protected List<com.oracle.truffle.api.TruffleStackTraceElement> |
findAsynchronousFrames(com.oracle.truffle.api.frame.Frame frame) |
com.oracle.truffle.api.object.DynamicObject |
getAsyncFunctionPromise(com.oracle.truffle.api.frame.Frame asyncFrame) |
String |
getName() |
List<com.oracle.truffle.api.TruffleStackTraceElement> |
getSavedStackTrace(com.oracle.truffle.api.frame.Frame asyncFrame) |
boolean |
isResumption()
Is this a root node for the resumption of a suspended function.
|
String |
toString() |
findAsynchronousFrames, getSourceSection, isCaptureFramesForTrace, isFunction, isInternalcloneUninitialized, copy, createConstantNode, getCallTarget, getCompilerOptions, getFrameDescriptor, getQualifiedName, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isTrivial, prepareForAOT, setCallTarget, translateStackTraceElementgetLanguage, getLanguageInfoaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateAsyncContextpublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
execute in class com.oracle.truffle.api.nodes.RootNodepublic boolean isResumption()
JavaScriptRootNodeisResumption in class JavaScriptRootNodepublic String getName()
getName in class com.oracle.truffle.api.nodes.RootNodepublic String toString()
toString in class com.oracle.truffle.api.nodes.Nodepublic com.oracle.truffle.api.object.DynamicObject getAsyncFunctionPromise(com.oracle.truffle.api.frame.Frame asyncFrame)
getAsyncFunctionPromise in interface AsyncRootNodepublic List<com.oracle.truffle.api.TruffleStackTraceElement> getSavedStackTrace(com.oracle.truffle.api.frame.Frame asyncFrame)
protected List<com.oracle.truffle.api.TruffleStackTraceElement> findAsynchronousFrames(com.oracle.truffle.api.frame.Frame frame)
findAsynchronousFrames in class com.oracle.truffle.api.nodes.RootNode