Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_param_holder.cpp
blob3a2f8959305de0f4a0fe3f593eca09900995560e
1 #include "ast_param_holder.h"
2 #include "ast_visitor.h"
4 #include "utl_identifier.h"
6 AST_Decl::NodeType const
7 AST_Param_Holder::NT = AST_Decl::NT_param_holder;
9 AST_Param_Holder::AST_Param_Holder (UTL_ScopedName *parameter_name,
10 FE_Utils::T_Param_Info *info)
11 : COMMON_Base (false,
12 false),
13 AST_Decl (AST_Decl::NT_param_holder,
14 parameter_name),
15 AST_Type (AST_Decl::NT_param_holder,
16 parameter_name),
17 info_ (info)
21 AST_Param_Holder::~AST_Param_Holder ()
25 FE_Utils::T_Param_Info const *
26 AST_Param_Holder::info () const
28 return this->info_;
31 void
32 AST_Param_Holder::destroy ()
34 this->AST_Type::destroy ();
37 int
38 AST_Param_Holder::ast_accept (ast_visitor *visitor)
40 return visitor->visit_param_holder (this);
43 void
44 AST_Param_Holder::dump (ACE_OSTREAM_TYPE & /* o */)