2 //=============================================================================
6 * Extension of class AST_Root that provides additional means for C++
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
15 #include "be_visitor.h"
16 #include "ast_sequence.h"
17 #include "ast_string.h"
18 #include "ast_array.h"
20 be_root::be_root (UTL_ScopedName
*n
)
22 AST_Decl (AST_Decl::NT_root
,
24 UTL_Scope (AST_Decl::NT_root
),
27 be_scope (AST_Decl::NT_root
),
28 be_decl (AST_Decl::NT_root
,
41 // Call the destroy methods of our base classes.
43 // The scope of the root is handled specially, since we may
44 // be processing multiple IDL files and we want to keep
45 // the predefined types around until we are all done.
46 // be_scope::destroy ();
47 // be_decl::destroy ();
53 be_root::accept (be_visitor
*visitor
)
55 return visitor
->visit_root (this);