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
27 be_visitor_root (be_visitor_context
*ctx
);
31 /// This is the only method that differs from that of the
32 /// be_visitor_module bass class.
33 virtual int visit_module (be_module
*node
);
36 #endif /* _BE_VISITOR_ROOT_ROOT_H_ */