The src/astclone Directory
Namespace astclone, delivered for TC-4. Clone the AST.
File: local.am (src/astclone/)
The Makefile configuration relative to the
src/astclone/directory. It is responsible for the integration into thelibtclibrary with everything exported from theastclonemodule, and the linkage of the directory’s unit tests in the test-suite.
File: libastclone.* (src/astclone/)
The interface of the
astclonemodule. It exports a single procedure,clone.
File: tasks.* (src/astclone/)
The tasks relative to the
astclonemodule (see: The src/task Directory).
File: cloner.* (src/astclone/)
The
astclone::Clonervisitor. 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.
File: test-cloner.cc (src/astclone/)
The unit tests.