3 //=============================================================================
5 * @file ast_visitor_tmpl_module_ref.h
7 * This visitor creates nodes resulting from the reference
8 * to one inside another, and adds these nodes to the AST.
10 * @author Jeff Parsons
12 //=============================================================================
15 #ifndef TAO_AST_VISITOR_TMPL_MODULE_REF_H
16 #define TAO_AST_VISITOR_TMPL_MODULE_REF_H
18 #include "ast_visitor_tmpl_module_inst.h"
21 * Adds implied IDL code to the AST related to the
22 * alias of a template module. This class reuses all
23 * the methods from the base class except the no-op
24 * visit_template_module_ref(), which it overrides.
26 class ast_visitor_tmpl_module_ref
27 : public ast_visitor_tmpl_module_inst
30 ast_visitor_tmpl_module_ref (ast_visitor_context
*ctx
);
32 virtual ~ast_visitor_tmpl_module_ref ();
34 virtual int visit_template_module_ref (AST_Template_Module_Ref
*node
);
37 #endif // TAO_AST_VISITOR_TMPL_MODULE_INST_H