Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_param_holder.cpp
bloba421873ba19b3c92c196d803d8604f0e218877bb
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 (void)
25 FE_Utils::T_Param_Info const *
26 AST_Param_Holder::info (void) const
28 return this->info_;
31 void
32 AST_Param_Holder::destroy (void)
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 */)
48 IMPL_NARROW_FROM_DECL (AST_Param_Holder)