Creates a deep copy of the specified AST node.
The resulting copy will only contain semantically relevant information, such as the $type property and AST properties.
References are copied without resolved cross reference. The specified function is used to rebuild them.
Creates a deep copy of the specified AST node. The resulting copy will only contain semantically relevant information, such as the
$type
property and AST properties.References are copied without resolved cross reference. The specified function is used to rebuild them.