INRIA / INRIA/spoon

having trouble with deep copying a CtElement in Scala

Open
#3,082 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

I would like to deep copy the entire AST of a CtElement, especially when I want to use parts of the sub-tree to create brand new CtElements

The Clone method available to all `CtElement` types are protected
I had this issue last year, see link below
#1978

Any help much appreciated!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.