2 //=============================================================================
6 * Extension of class AST_Finder that provides additional means for C++
11 //=============================================================================
14 #include "be_finder.h"
15 #include "be_visitor.h"
17 be_finder::be_finder (UTL_ScopedName
*n
)
19 false), //@@ Always local, never abstract
20 AST_Decl (AST_Decl::NT_finder
,
22 UTL_Scope (AST_Decl::NT_finder
),
25 be_scope (AST_Decl::NT_finder
),
26 be_decl (AST_Decl::NT_finder
,
32 be_finder::~be_finder ()
39 // Call the destroy methods of our base classes.
40 this->be_factory::destroy ();
41 this->AST_Finder::destroy ();
45 be_finder::accept (be_visitor
*visitor
)
47 return visitor
->visit_finder (this);