blob: 3322d73e1e397fa3dcc350d12fb7b3c648540529 (
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
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file root.h
*
* Concrete visitor for the Root class
* This one provides the generic visitor for the Root node.
*
* @author Aniruddha Gokhale
*/
//=============================================================================
#ifndef _BE_VISITOR_ROOT_ROOT_H_
#define _BE_VISITOR_ROOT_ROOT_H_
/**
* @class be_visitor_root
*
* @brief be_visitor_root
*
* This is a concrete visitor for root that abstracts all common tasks
*/
class be_visitor_root : public be_visitor_module
{
public:
be_visitor_root (be_visitor_context *ctx);
~be_visitor_root ();
/// This is the only method that differs from that of the
/// be_visitor_module bass class.
virtual int visit_module (be_module *node);
};
#endif /* _BE_VISITOR_ROOT_ROOT_H_ */
|