Class AbstractFunctionRootNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
AsyncFunctionBodyNode.AsyncFunctionRootNode, FunctionRootNode, TopLevelAwaitModuleBodyNode.TopLevelAwaitModuleRootNode

public abstract class AbstractFunctionRootNode extends JavaScriptRealmBoundaryRootNode
  • 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.Children
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ScriptOrModule
     

    Fields inherited from class com.oracle.truffle.js.runtime.JavaScriptRootNode

    MODULE_DUMMY_FRAMEDESCRIPTOR
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractFunctionRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, ScriptOrModule activeScriptOrModule)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode

    execute, executeInRealm

    Methods 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, prepareForCompilation, prepareForInstrumentation, translateStackTraceElement

    Methods inherited from class com.oracle.truffle.api.nodes.ExecutableNode

    getLanguage, getLanguageInfo

    Methods 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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • activeScriptOrModule

      protected final ScriptOrModule activeScriptOrModule
  • Constructor Details

    • AbstractFunctionRootNode

      protected AbstractFunctionRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, ScriptOrModule activeScriptOrModule)
  • Method Details

    • getActiveScriptOrModule

      public final ScriptOrModule getActiveScriptOrModule()