public abstract class ScopeFrameNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.strings.TruffleString |
BLOCK_SCOPE_IDENTIFIER |
static com.oracle.truffle.api.strings.TruffleString |
EVAL_SCOPE_IDENTIFIER |
static com.oracle.truffle.api.strings.TruffleString |
PARENT_SCOPE_IDENTIFIER |
static int |
PARENT_SCOPE_SLOT_INDEX |
| Constructor and Description |
|---|
ScopeFrameNode() |
| Modifier and Type | Method and Description |
|---|---|
static ScopeFrameNode |
create(int frameLevel) |
static ScopeFrameNode |
create(int frameLevel,
int scopeLevel,
JSFrameSlot blockScopeSlot) |
static ScopeFrameNode |
createCurrent() |
abstract com.oracle.truffle.api.frame.Frame |
executeFrame(com.oracle.truffle.api.frame.Frame frame) |
static com.oracle.truffle.api.frame.Frame |
getBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame) |
static com.oracle.truffle.api.frame.Frame |
getNonBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame) |
boolean |
isAdoptable() |
static boolean |
isBlockScopeFrame(com.oracle.truffle.api.frame.Frame frame) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static final int PARENT_SCOPE_SLOT_INDEX
public static final com.oracle.truffle.api.strings.TruffleString PARENT_SCOPE_IDENTIFIER
public static final com.oracle.truffle.api.strings.TruffleString BLOCK_SCOPE_IDENTIFIER
public static final com.oracle.truffle.api.strings.TruffleString EVAL_SCOPE_IDENTIFIER
public static ScopeFrameNode createCurrent()
public static ScopeFrameNode create(int frameLevel)
public static ScopeFrameNode create(int frameLevel, int scopeLevel, JSFrameSlot blockScopeSlot)
public static boolean isBlockScopeFrame(com.oracle.truffle.api.frame.Frame frame)
public static com.oracle.truffle.api.frame.Frame getBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame)
public static com.oracle.truffle.api.frame.Frame getNonBlockScopeParentFrame(com.oracle.truffle.api.frame.Frame frame)
public abstract com.oracle.truffle.api.frame.Frame executeFrame(com.oracle.truffle.api.frame.Frame frame)
public final boolean isAdoptable()
isAdoptable in class com.oracle.truffle.api.nodes.Node