Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_param_holder.h
blobe3c99455c5c311cb6743a439f67dc1c06ebda235
1 // This may look like C, but it's really -*- C++ -*-
2 #ifndef AST_PARAM_HOLDER_H
3 #define AST_PARAM_HOLDER_H
5 #include "ast_type.h"
7 #include "fe_utils.h"
9 class TAO_IDL_FE_Export AST_Param_Holder
10 : public virtual AST_Type
12 public:
13 AST_Param_Holder (UTL_ScopedName *parameter_name,
14 FE_Utils::T_Param_Info *info);
16 virtual ~AST_Param_Holder (void);
18 FE_Utils::T_Param_Info const *info (void) const;
20 // Narrowing.
21 DEF_NARROW_FROM_DECL (AST_Param_Holder);
23 // AST Dumping.
24 virtual void dump (ACE_OSTREAM_TYPE &o);
26 // Cleanup function.
27 virtual void destroy (void);
29 // Visiting.
30 virtual int ast_accept (ast_visitor *visitor);
32 static AST_Decl::NodeType const NT;
34 private:
35 FE_Utils::T_Param_Info *info_;
38 #endif // AST_PARAM_HOLDER_H