public final class FrameSlot extends Object implements Cloneable
Frame and FrameDescriptor that can store a value of a given type.| Modifier and Type | Method and Description |
|---|---|
FrameDescriptor |
getFrameDescriptor()
Frame descriptor this slot is associated with.
|
Object |
getIdentifier()
Identifier of the slot.
|
int |
getIndex()
Index of the slot in the
FrameDescriptor. |
Object |
getInfo()
Information about the slot.
|
FrameSlotKind |
getKind()
Kind of the slot.
|
void |
setKind(FrameSlotKind kind)
Changes the kind of this slot.
|
String |
toString() |
public Object getIdentifier()
FrameDescriptor.addFrameSlot(java.lang.Object)
parameterpublic Object getInfo()
FrameDescriptor.addFrameSlot(java.lang.Object, java.lang.Object, com.oracle.truffle.api.frame.FrameSlotKind)public int getIndex()
FrameDescriptor.adding it.public FrameSlotKind getKind()
creation time or updated via FrameSlot.setKind(com.oracle.truffle.api.frame.FrameSlotKind)
method.public void setKind(FrameSlotKind kind)
associated
descriptor.kind - new kind of the slotpublic FrameDescriptor getFrameDescriptor()
created the slot