The src/astclone
Directory
Namespace astclone
. Clone the AST.
File: libastclone.* (src/astclone/)
The interface of the
astclone
module. It exports a single procedure,clone
.
File: cloner.* (src/astclone/)
The
astclone::Cloner
visitor. Duplicate anAST
. This copy is purely structural: the clone is similar to the original tree, but any existing binding or type information is not preserved.