Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_provides.cpp
blobe2b6515666820e36ca4973605064caf04453c49a
1 #include "ast_provides.h"
2 #include "ast_interface.h"
3 #include "ast_visitor.h"
5 AST_Decl::NodeType const
6 AST_Provides::NT = AST_Decl::NT_provides;
8 AST_Provides::AST_Provides (UTL_ScopedName *n,
9 AST_Type *provides_type)
10 : COMMON_Base (),
11 AST_Decl (AST_Decl::NT_provides,
12 n),
13 AST_Field (AST_Decl::NT_provides,
14 provides_type,
19 AST_Provides::~AST_Provides ()
23 AST_Type *
24 AST_Provides::provides_type () const
26 return this->field_type ();
29 void
30 AST_Provides::dump (ACE_OSTREAM_TYPE &o)
32 this->dump_i (o, "provides ");
33 this->AST_Field::dump (o);
36 int
37 AST_Provides::ast_accept (ast_visitor *visitor)
39 return visitor->visit_provides (this);
42 void
43 AST_Provides::destroy ()
45 this->AST_Field::destroy ();