LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
libastclone.hxx File Reference
#include <ast/exp.hh>
#include <astclone/libastclone.hh>
#include <astclone/cloner.hh>
Include dependency graph for libastclone.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  astclone
 Cloning an ast::Ast.

Functions

template<typename T >
T * astclone::clone (const T &tree)
 Make a deep copy of an AST.
template<typename A >
void astclone::apply (applicable< A > f, A *&t)
 Have the pure function f side effect on t.