LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
visitor.hxx
Go to the documentation of this file.
1 
6 #ifndef TREE_VISITOR_HXX
7 # define TREE_VISITOR_HXX
8 
9 # include <misc/algorithm.hh>
10 # include <tree/fragments.hh>
11 # include <tree/visitor.hh>
12 
13 namespace tree
14 {
15 
16  template <template <typename> class Const>
18  {}
19 
20 
21  template <template <typename> class Const>
22  template <class E>
23  void
25  {
26  e->accept(*this);
27  }
28 
29 
30  template <template <typename> class Const>
31  void
34  {
35  }
36 
37  template <template <typename> class Const>
38  void
41  {
42  }
43 
44  template <template <typename> class Const>
45  void
48  {
49  misc::for_each(frags, *this);
50  }
51 
52 } // namespace tree
53 
54 #endif // !TREE_VISITOR_HXX