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
)
11 AST_Decl (AST_Decl::NT_provides
,
13 AST_Field (AST_Decl::NT_provides
,
19 AST_Provides::~AST_Provides (void)
24 AST_Provides::provides_type (void) const
26 return this->field_type ();
30 AST_Provides::dump (ACE_OSTREAM_TYPE
&o
)
32 this->dump_i (o
, "provides ");
33 this->AST_Field::dump (o
);
37 AST_Provides::ast_accept (ast_visitor
*visitor
)
39 return visitor
->visit_provides (this);
43 AST_Provides::destroy (void)
45 this->AST_Field::destroy ();
48 IMPL_NARROW_FROM_DECL(AST_Provides
)