blob: da106dc3501b532c7aa0328d8aff7fb8035bb6ce (
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
|
// file : cli/traversal/class.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef CLI_TRAVERSAL_CLASS_HXX
#define CLI_TRAVERSAL_CLASS_HXX
#include <cli/traversal/elements.hxx>
#include <cli/semantics/class.hxx>
namespace traversal
{
struct inherits: edge<semantics::inherits>
{
inherits () {}
inherits (node_dispatcher& n) {node_traverser (n);}
virtual void
traverse (type&);
};
struct class_: scope_template<semantics::class_>
{
virtual void
traverse (type&);
virtual void
pre (type&);
virtual void
inherits (type&);
virtual void
inherits (type&, edge_dispatcher&);
virtual void
post (type&);
};
}
#endif // CLI_TRAVERSAL_CLASS_HXX
|