1 #include "be_provides.h"
2 #include "be_interface.h"
3 #include "be_operation.h"
4 #include "be_attribute.h"
5 #include "be_visitor.h"
9 #include "be_visitor_operation.h"
10 #include "be_visitor_attribute.h"
11 #include "be_visitor_context.h"
13 #include "utl_identifier.h"
15 #include "nr_extern.h"
17 be_provides::be_provides (UTL_ScopedName
*n
,
18 AST_Type
*provides_type
)
21 AST_Decl (AST_Decl::NT_provides
,
23 AST_Field (AST_Decl::NT_provides
,
28 be_decl (AST_Decl::NT_provides
,
30 be_field (provides_type
,
35 be_provides::~be_provides (void)
40 be_provides::provides_type (void) const
43 be_type::narrow_from_decl (
44 this->AST_Provides::provides_type ());
47 IMPL_NARROW_FROM_DECL (be_provides
)
50 be_provides::accept (be_visitor
*visitor
)
52 return visitor
->visit_provides (this);
56 be_provides::destroy (void)
58 this->AST_Provides::destroy ();
59 this->be_field::destroy ();