blob: 656ec728642b2983be2f9f48cccb2f318433f5f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
// file : cli/traversal/unit.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef CLI_TRAVERSAL_UNIT_HXX
#define CLI_TRAVERSAL_UNIT_HXX
#include <traversal/elements.hxx>
#include <semantics/unit.hxx>
namespace traversal
{
struct cxx_includes: edge<semantics::cxx_includes>
{
cxx_includes ()
{
}
cxx_includes (node_dispatcher& n)
{
node_traverser (n);
}
virtual void
traverse (type&);
};
struct cli_includes: edge<semantics::cli_includes>
{
cli_includes ()
{
}
cli_includes (node_dispatcher& n)
{
node_traverser (n);
}
virtual void
traverse (type&);
};
struct cxx_unit: node<semantics::cxx_unit> {};
struct cli_unit: scope_template<semantics::cli_unit>
{
virtual void
traverse (type&);
virtual void
pre (type&);
virtual void
post (type&);
};
}
#endif // CLI_TRAVERSAL_UNIT_HXX
|