3 //=============================================================================
7 * Extension of class AST_Structure that provides additional means for C++
10 * @author Copyright 1994-1995 by Sun Microsystems
11 * @author Inc. and Aniruddha Gokhale
13 //=============================================================================
15 #ifndef BE_STRUCTURE_H
16 #define BE_STRUCTURE_H
20 #include "ast_structure.h"
24 class be_structure
: public virtual AST_Structure
,
25 public virtual be_scope
,
26 public virtual be_type
29 be_structure (UTL_ScopedName
*n
,
33 be_structure (AST_Decl::NodeType nt
,
38 /// Copy BE-specific values when redefining struct or union
39 /// from a forward declaration.
40 virtual void redefine (AST_Structure
*from
);
42 /// Overridden from class be_type.
43 virtual void gen_ostream_operator (TAO_OutStream
*os
,
47 virtual void destroy ();
50 virtual int accept (be_visitor
*visitor
);