Class JSLoadNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.function.JSLoadNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSLoadNode extends JavaScriptBaseNode
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static JSLoadNode
     
    abstract Object
    executeLoad(com.oracle.truffle.api.source.Source source, JSRealm realm)
     
    protected static com.oracle.truffle.api.CallTarget
    loadScript(com.oracle.truffle.api.source.Source source, JSRealm realm)
     

    Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode

    copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace

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

    accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

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

    • JSLoadNode

      public JSLoadNode()
  • Method Details

    • create

      public static JSLoadNode create()
    • executeLoad

      public abstract Object executeLoad(com.oracle.truffle.api.source.Source source, JSRealm realm)
    • loadScript

      protected static com.oracle.truffle.api.CallTarget loadScript(com.oracle.truffle.api.source.Source source, JSRealm realm)