2 #include "be_interface.h"
3 #include "be_visitor.h"
5 be_uses::be_uses (UTL_ScopedName
*n
,
10 AST_Decl (AST_Decl::NT_uses
,
12 AST_Field (AST_Decl::NT_uses
,
18 be_decl (AST_Decl::NT_uses
,
22 original_uses_ (nullptr)
31 be_uses::uses_type () const
34 dynamic_cast<be_type
*> (
35 this->AST_Uses::uses_type ());
39 be_uses::accept (be_visitor
*visitor
)
41 return visitor
->visit_uses (this);
47 this->AST_Uses::destroy ();
48 this->be_field::destroy ();
52 be_uses::original_uses (be_uses
*original_uses
)
54 this->original_uses_
= original_uses
;
58 be_uses::original_uses ()
60 return this->original_uses_
;