public final class JSFrameDescriptor extends Object
| Constructor and Description |
|---|
JSFrameDescriptor() |
JSFrameDescriptor(Object defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
JSFrameSlot |
addFrameSlot(Object identifier) |
JSFrameSlot |
addFrameSlot(Object identifier,
com.oracle.truffle.api.frame.FrameSlotKind kind) |
JSFrameSlot |
addFrameSlot(Object identifier,
int flags,
com.oracle.truffle.api.frame.FrameSlotKind kind) |
boolean |
contains(Object identifier) |
static JSFrameDescriptor |
createBlockFrameDescriptor() |
static JSFrameDescriptor |
createFunctionFrameDescriptor() |
JSFrameSlot |
findFrameSlot(Object identifier) |
JSFrameSlot |
findOrAddFrameSlot(Object identifier) |
JSFrameSlot |
findOrAddFrameSlot(Object identifier,
com.oracle.truffle.api.frame.FrameSlotKind kind) |
JSFrameSlot |
findOrAddFrameSlot(Object identifier,
int flags,
com.oracle.truffle.api.frame.FrameSlotKind kind) |
Iterable<Object> |
getIdentifiers() |
int |
getSize() |
Iterable<JSFrameSlot> |
getSlots() |
boolean |
isClosed() |
static com.oracle.truffle.js.nodes.JSFrameDescriptor.ScopedIdentifier |
scopedIdentifier(Object identifier,
Scope scope)
A scoped identifier is only equal to identifiers of the same scope.
|
com.oracle.truffle.api.frame.FrameDescriptor |
toFrameDescriptor() |
String |
toString() |
public JSFrameDescriptor()
public JSFrameDescriptor(Object defaultValue)
public JSFrameSlot addFrameSlot(Object identifier)
public JSFrameSlot addFrameSlot(Object identifier, com.oracle.truffle.api.frame.FrameSlotKind kind)
public JSFrameSlot addFrameSlot(Object identifier, int flags, com.oracle.truffle.api.frame.FrameSlotKind kind)
public JSFrameSlot findFrameSlot(Object identifier)
public JSFrameSlot findOrAddFrameSlot(Object identifier)
public JSFrameSlot findOrAddFrameSlot(Object identifier, com.oracle.truffle.api.frame.FrameSlotKind kind)
public JSFrameSlot findOrAddFrameSlot(Object identifier, int flags, com.oracle.truffle.api.frame.FrameSlotKind kind)
public int getSize()
public boolean contains(Object identifier)
public Iterable<JSFrameSlot> getSlots()
public com.oracle.truffle.api.frame.FrameDescriptor toFrameDescriptor()
public boolean isClosed()
public static JSFrameDescriptor createFunctionFrameDescriptor()
public static JSFrameDescriptor createBlockFrameDescriptor()
public static com.oracle.truffle.js.nodes.JSFrameDescriptor.ScopedIdentifier scopedIdentifier(Object identifier, Scope scope)