LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
visitor.hh
Go to the documentation of this file.
1
6
#ifndef TREE_VISITOR_HH
7
# define TREE_VISITOR_HH
8
9
# include <
misc/select-const.hh
>
10
# include <
tree/fwd.hh
>
11
12
namespace
tree
13
{
14
15
template
<
template
<
typename
>
class
Const>
16
class
GenVisitor
17
{
20
public
:
22
virtual
~GenVisitor
();
25
public
:
27
virtual
void
operator()
(
typename
Const<ProcFrag>::type
& a);
29
virtual
void
operator()
(
typename
Const<DataFrag>::type
& a);
31
template
<
class
E>
void
operator()
(E* e);
32
34
virtual
void
operator()
(
typename
Const<Fragments>::type
& fs);
35
};
36
38
typedef
GenVisitor<misc::constify_traits>
ConstVisitor
;
40
typedef
GenVisitor<misc::id_traits>
Visitor
;
41
42
}
// namespace tree
43
44
# include <
tree/visitor.hxx
>
45
46
#endif // !TREE_VISITOR_HH
tree
visitor.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2