public abstract class JavaScriptRootNode
extends com.oracle.truffle.api.nodes.RootNode
| Modifier | Constructor and Description |
|---|---|
protected |
JavaScriptRootNode() |
protected |
JavaScriptRootNode(JavaScriptLanguage lang,
com.oracle.truffle.api.source.SourceSection sourceSection,
com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
static List<com.oracle.truffle.api.TruffleStackTraceElement> |
findAsynchronousFrames(JavaScriptRootNode rootNode,
com.oracle.truffle.api.frame.Frame frame) |
com.oracle.truffle.api.source.SourceSection |
getSourceSection() |
boolean |
isCaptureFramesForTrace() |
boolean |
isFunction()
Is this a regular JS function with standard arguments, to be included in stack traces.
|
boolean |
isInternal() |
boolean |
isResumption()
Is this a root node for the resumption of a suspended function.
|
cloneUninitialized, copy, createConstantNode, execute, findAsynchronousFrames, getCallTarget, getCompilerOptions, getFrameDescriptor, getName, 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, reportPolymorphicSpecialize, toStringprotected JavaScriptRootNode()
protected JavaScriptRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor)
public com.oracle.truffle.api.source.SourceSection getSourceSection()
getSourceSection in class com.oracle.truffle.api.nodes.Nodepublic boolean isInternal()
isInternal in class com.oracle.truffle.api.nodes.RootNodepublic boolean isFunction()
public boolean isResumption()
public boolean isCaptureFramesForTrace()
isCaptureFramesForTrace in class com.oracle.truffle.api.nodes.RootNodepublic static List<com.oracle.truffle.api.TruffleStackTraceElement> findAsynchronousFrames(JavaScriptRootNode rootNode, com.oracle.truffle.api.frame.Frame frame)