protected abstract static class PropertyCacheNode.AbstractShapeCheckNode extends PropertyCacheNode.ReceiverCheckNode
Shape of a JSDynamicObject.shape| 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() |
abstract JSDynamicObject |
getStore(Object thisObj) |
abstract boolean |
isValid()
Checks if all required assumptions are valid.
|
getCost, getShape, isUnstablecopy, getLanguage, getRealm, hasOverloadedOperators, 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 JSDynamicObject getStore(Object thisObj)
getStore in class PropertyCacheNode.ReceiverCheckNodeJSDynamicObject that contains the property.public boolean accept(Object thisObj)
PropertyCacheNode.ReceiverCheckNodeaccept in class PropertyCacheNode.ReceiverCheckNodepublic int getDepth()
public abstract boolean isValid()
PropertyCacheNode.ReceiverCheckNodeisValid in class PropertyCacheNode.ReceiverCheckNode