3 //=============================================================================
7 * Concrete visitor for the Root class
8 * This one provides the generic visitor for the Root node.
10 * @author Aniruddha Gokhale
12 //=============================================================================
14 #ifndef _BE_VISITOR_ROOT_ROOT_H_
15 #define _BE_VISITOR_ROOT_ROOT_H_
18 * @class be_visitor_root
20 * @brief be_visitor_root
22 * This is a concrete visitor for root that abstracts all common tasks
24 class be_visitor_root
: public be_visitor_module
28 be_visitor_root (be_visitor_context
*ctx
);
30 ~be_visitor_root (void);
32 /// This is the only method that differs from that of the
33 /// be_visitor_module bass class.
34 virtual int visit_module (be_module
*node
);
37 #endif /* _BE_VISITOR_ROOT_ROOT_H_ */