public abstract class JavaScriptRootNode
extends com.oracle.truffle.api.nodes.RootNode
| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.frame.FrameDescriptor |
MODULE_DUMMY_FRAMEDESCRIPTOR |
| Modifier | Constructor and Description |
|---|---|
protected |
JavaScriptRootNode() |
protected |
JavaScriptRootNode(JavaScriptLanguage lang) |
protected |
JavaScriptRootNode(JavaScriptLanguage lang,
com.oracle.truffle.api.source.SourceSection sourceSection) |
protected |
JavaScriptRootNode(JavaScriptLanguage lang,
com.oracle.truffle.api.source.SourceSection sourceSection,
com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
countsTowardsStackTraceLimit() |
static List<com.oracle.truffle.api.TruffleStackTraceElement> |
findAsynchronousFrames(JavaScriptRootNode rootNode,
com.oracle.truffle.api.frame.Frame frame) |
protected JavaScriptLanguage |
getLanguage() |
protected JSRealm |
getRealm() |
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, computeSize, copy, createConstantNode, execute, findAsynchronousFrames, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isSameFrame, isTrivial, prepareForAOT, translateStackTraceElementgetLanguage, getLanguageInfoaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic static final com.oracle.truffle.api.frame.FrameDescriptor MODULE_DUMMY_FRAMEDESCRIPTOR
protected JavaScriptRootNode()
protected JavaScriptRootNode(JavaScriptLanguage lang)
protected JavaScriptRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection)
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.RootNodeprotected boolean countsTowardsStackTraceLimit()
countsTowardsStackTraceLimit 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)
protected final JSRealm getRealm()
protected final JavaScriptLanguage getLanguage()