protected abstract static class PropertyCacheNode.AbstractShapeCheckNode extends PropertyCacheNode.ReceiverCheckNode
Shape of a DynamicObject.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractShapeCheckNode(com.oracle.truffle.api.object.Shape shape) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object thisObj)
Check receiver shape, class, or instance.
|
int |
getDepth() |
com.oracle.truffle.api.object.Shape |
getShape() |
abstract com.oracle.truffle.api.object.DynamicObject |
getStore(Object thisObj) |
abstract boolean |
isValid()
Checks if all required assumptions are valid.
|
getCost, isUnstablecopy, getLanguage, getRealm, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected AbstractShapeCheckNode(com.oracle.truffle.api.object.Shape shape)
public abstract com.oracle.truffle.api.object.DynamicObject getStore(Object thisObj)
getStore in class PropertyCacheNode.ReceiverCheckNodeDynamicObject that contains the property.public final com.oracle.truffle.api.object.Shape getShape()
getShape in class PropertyCacheNode.ReceiverCheckNodepublic boolean accept(Object thisObj)
PropertyCacheNode.ReceiverCheckNodeaccept in class PropertyCacheNode.ReceiverCheckNodepublic int getDepth()
public abstract boolean isValid()
PropertyCacheNode.ReceiverCheckNodeisValid in class PropertyCacheNode.ReceiverCheckNode