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 ()
40 be_provides::provides_type () const
43 dynamic_cast<be_type
*> (
44 this->AST_Provides::provides_type ());
48 be_provides::accept (be_visitor
*visitor
)
50 return visitor
->visit_provides (this);
54 be_provides::destroy ()
56 this->AST_Provides::destroy ();
57 this->be_field::destroy ();