Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / TAO_IDL / be / be_template_module_ref.cpp
blob3fa2074022907013d9c879443d2ed05bf4cfbd27
1 #include "be_template_module_ref.h"
2 #include "be_visitor.h"
4 #include "ast_template_module.h"
6 be_template_module_ref::be_template_module_ref (
7 UTL_ScopedName *n,
8 AST_Template_Module *ref,
9 UTL_StrList *param_refs)
10 : COMMON_Base (false,
11 false),
12 AST_Decl (AST_Decl::NT_module,
13 n),
14 AST_Field (AST_Decl::NT_module,
15 ref,
16 n),
17 AST_Template_Module_Ref (n,
18 ref,
19 param_refs),
20 be_decl (AST_Decl::NT_module,
21 n),
22 be_field (ref,
27 be_template_module_ref::~be_template_module_ref ()
31 void
32 be_template_module_ref::destroy ()
34 this->AST_Template_Module_Ref::destroy ();
35 this->be_field::destroy ();
38 int
39 be_template_module_ref::accept (be_visitor *visitor)
41 return visitor->visit_template_module_ref (this);