Arpeggio icon indicating copy to clipboard operation
Arpeggio copied to clipboard

Implement deepcopy for parsed nodes

Open demianw opened this issue 8 years ago • 2 comments

Being able to deep copy nodes will enable implementing strategies requiring parse tree transformations such as syntactic sugar or static analyses of the language. Hence, it would be good to be able to copy nodes.

demianw avatar Jul 06 '17 04:07 demianw

@demianw Well it took me a while to get to this. Sorry about that. Here is the first implementation of parse tree nodes deep copying with test. It is on branch issue36-deepcopy. Please test with your use case.

igordejanovic avatar Jul 22 '18 15:07 igordejanovic

Just for the reference, here is the discussion from SO.

igordejanovic avatar Jul 24 '18 08:07 igordejanovic