Class ScopeFrameNode

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

public abstract class ScopeFrameNode extends JavaScriptBaseNode
  • Field Details

    • PARENT_SCOPE_SLOT_INDEX

      public static final int PARENT_SCOPE_SLOT_INDEX
      See Also:
    • PARENT_SCOPE_IDENTIFIER

      public static final com.oracle.truffle.api.strings.TruffleString PARENT_SCOPE_IDENTIFIER
    • BLOCK_SCOPE_IDENTIFIER

      public static final com.oracle.truffle.api.strings.TruffleString BLOCK_SCOPE_IDENTIFIER
    • EVAL_SCOPE_IDENTIFIER

      public static final com.oracle.truffle.api.strings.TruffleString EVAL_SCOPE_IDENTIFIER
  • Constructor Details

    • ScopeFrameNode

      public ScopeFrameNode()
  • Method Details

    • createCurrent

      public static ScopeFrameNode createCurrent()
    • create

      public static ScopeFrameNode create(int frameLevel)
    • create

      public static ScopeFrameNode create(int frameLevel, int scopeLevel, JSFrameSlot blockScopeSlot)
    • isBlockScopeFrame

      public static boolean isBlockScopeFrame(com.oracle.truffle.api.frame.Frame frame)
    • getBlockScopeParentFrame

      public static com.oracle.truffle.api.frame.Frame getBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame)
    • getNonBlockScopeParentFrame

      public static com.oracle.truffle.api.frame.Frame getNonBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame)
    • executeFrame

      public abstract com.oracle.truffle.api.frame.Frame executeFrame(com.oracle.truffle.api.frame.Frame frame)
    • isAdoptable

      public final boolean isAdoptable()
      Overrides:
      isAdoptable in class com.oracle.truffle.api.nodes.Node