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
-
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
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.strings.TruffleStringstatic final com.oracle.truffle.api.strings.TruffleStringstatic final com.oracle.truffle.api.strings.TruffleStringstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScopeFrameNodecreate(int frameLevel) static ScopeFrameNodecreate(int frameLevel, int scopeLevel, JSFrameSlot blockScopeSlot) static ScopeFrameNodeabstract com.oracle.truffle.api.frame.FrameexecuteFrame(com.oracle.truffle.api.frame.Frame frame) static com.oracle.truffle.api.frame.FramegetBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame) static com.oracle.truffle.api.frame.FramegetNonBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame) final booleanstatic booleanisBlockScopeFrame(com.oracle.truffle.api.frame.Frame frame) Methods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods 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, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
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
-
create
-
create
-
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:
isAdoptablein classcom.oracle.truffle.api.nodes.Node
-