Package: cxml-stp

Function copy

Lambda List

copy (node)

Arguments

Details

This function copies a node recursively.

The resulting node is of the same class as the argument, and all child nodes and attributes are copied in the same way.

Shared structure includes only primitive slot values like strings. (The consequences are undefined if user code mutates such values, whether copy is used or not.)
 

See also