Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be / be_template_module.cpp
blob14fe819013973e9286fa731368b8455b4c5052dd
1 #include "be_template_module.h"
2 #include "be_visitor.h"
4 be_template_module::be_template_module (
5 UTL_ScopedName *n,
6 FE_Utils::T_PARAMLIST_INFO *template_params)
7 : COMMON_Base (false,
8 false),
9 AST_Decl (AST_Decl::NT_module,
10 n),
11 UTL_Scope (AST_Decl::NT_module),
12 AST_Module (n),
13 AST_Type (AST_Decl::NT_module,
14 n),
15 AST_Template_Module (n,
16 template_params),
17 be_scope (AST_Decl::NT_module),
18 be_decl (AST_Decl::NT_module,
23 be_template_module::~be_template_module (void)
27 void
28 be_template_module::destroy (void)
30 this->AST_Template_Module::destroy ();
31 this->be_scope::destroy ();
32 this->be_decl::destroy ();
35 int
36 be_template_module::accept (be_visitor *)
38 // Disables visitation when this node is encountered as part
39 // of a normal scope traversal. We will call
40 // visit_template_module() directly when the template module
41 // is instantiated, and match template args with template params
42 // to generate implied IDL.
43 return 0;
46 IMPL_NARROW_FROM_DECL (be_template_module)
47 IMPL_NARROW_FROM_SCOPE (be_template_module)