Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_param_holder.h
blob98ba09033f5cb67c89c5a225d91700c2f5f2b9d8
1 #ifndef AST_PARAM_HOLDER_H
2 #define AST_PARAM_HOLDER_H
4 #include "ast_type.h"
6 #include "fe_utils.h"
8 class TAO_IDL_FE_Export AST_Param_Holder
9 : public virtual AST_Type
11 public:
12 AST_Param_Holder (UTL_ScopedName *parameter_name,
13 FE_Utils::T_Param_Info *info);
15 virtual ~AST_Param_Holder ();
17 FE_Utils::T_Param_Info const *info () const;
19 // AST Dumping.
20 virtual void dump (ACE_OSTREAM_TYPE &o);
22 // Cleanup function.
23 virtual void destroy ();
25 // Visiting.
26 virtual int ast_accept (ast_visitor *visitor);
28 static AST_Decl::NodeType const NT;
30 private:
31 FE_Utils::T_Param_Info *info_;
34 #endif // AST_PARAM_HOLDER_H