1 #include "be_template_module.h"
2 #include "be_visitor.h"
4 be_template_module::be_template_module (
6 FE_Utils::T_PARAMLIST_INFO
*template_params
)
9 AST_Decl (AST_Decl::NT_module
,
11 UTL_Scope (AST_Decl::NT_module
),
13 AST_Type (AST_Decl::NT_module
,
15 AST_Template_Module (n
,
17 be_scope (AST_Decl::NT_module
),
18 be_decl (AST_Decl::NT_module
,
23 be_template_module::~be_template_module (void)
28 be_template_module::destroy (void)
30 this->AST_Template_Module::destroy ();
31 this->be_scope::destroy ();
32 this->be_decl::destroy ();
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.
46 IMPL_NARROW_FROM_DECL (be_template_module
)
47 IMPL_NARROW_FROM_SCOPE (be_template_module
)