Package com.oracle.truffle.api.frame
Class FrameDescriptor
java.lang.Object
com.oracle.truffle.api.frame.FrameDescriptor
- All Implemented Interfaces:
Cloneable
Descriptor of the slots of frame objects. Multiple frame instances are associated with one such
descriptor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFrameSlot
(Object identifier) addFrameSlot
(Object identifier, FrameSlotKind kind) addFrameSlot
(Object identifier, Object info, FrameSlotKind kind) copy()
static FrameDescriptor
create()
static FrameDescriptor
findFrameSlot
(Object identifier) findOrAddFrameSlot
(Object identifier) findOrAddFrameSlot
(Object identifier, FrameSlotKind kind) findOrAddFrameSlot
(Object identifier, Object info, FrameSlotKind kind) Retrieve the list of all the identifiers associated with this frame descriptor.getNotInFrameAssumption
(Object identifier) int
getSize()
getSlots()
void
removeFrameSlot
(Object identifier)
-
Constructor Details
-
FrameDescriptor
public FrameDescriptor() -
FrameDescriptor
-
-
Method Details
-
create
-
create
-
addFrameSlot
-
addFrameSlot
-
addFrameSlot
-
findFrameSlot
-
findOrAddFrameSlot
-
findOrAddFrameSlot
-
findOrAddFrameSlot
-
removeFrameSlot
-
getSize
public int getSize() -
getSlots
-
getIdentifiers
Retrieve the list of all the identifiers associated with this frame descriptor.- Returns:
- the list of all the identifiers in this frame descriptor
-
copy
-
shallowCopy
-
getVersion
-
getDefaultValue
-
getNotInFrameAssumption
-