Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_provides.cpp
blob07bfd67948044b0a3af115576dfb715884721f24
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 (void)
23 AST_Type *
24 AST_Provides::provides_type (void) 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 (void)
45 this->AST_Field::destroy ();
48 IMPL_NARROW_FROM_DECL(AST_Provides)