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 |
---|---|
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, getCallTarget, getCompilerOptions, getFrameDescriptor, getName, getQualifiedName, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, setCallTarget
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString
protected 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.Node
public boolean isInternal()
isInternal
in class com.oracle.truffle.api.nodes.RootNode
public boolean isFunction()
public boolean isResumption()
public boolean isCaptureFramesForTrace()
isCaptureFramesForTrace
in class com.oracle.truffle.api.nodes.RootNode