Class DynamicObject.GetPropertyNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.object.DynamicObject.GetPropertyNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
DynamicObject
Gets a property descriptor for the requested property key or
null if no such property exists.- Since:
- 25.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Node
Node.Child, Node.Children -
Method Summary
Modifier and TypeMethodDescriptioncreate()abstract Propertyexecute(DynamicObject receiver, Object key) Gets a property descriptor for the requested property key.Methods inherited from class Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
execute
Gets a property descriptor for the requested property key. Returnsnullif the object contains no such property.- Returns:
Propertyif the property exists, elsenull
-
create
- Since:
- 25.1
-
getUncached
- Since:
- 25.1
-