Class DynamicObject.CopyPropertiesNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.object.DynamicObject.CopyPropertiesNode
- All Implemented Interfaces:
NodeInterface, Cloneable
- Enclosing class:
DynamicObject
Copies all properties of a DynamicObject to another, preserving property flags. Does not copy
hidden properties.
- 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 voidexecute(DynamicObject from, DynamicObject to) Copies all properties of a DynamicObject to another, preserving property flags.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
Copies all properties of a DynamicObject to another, preserving property flags. Does not copy hidden properties.- Since:
- 25.1
-
create
- Since:
- 25.1
-
getUncached
- Since:
- 25.1
-