2 //=============================================================================
4 * @file be_union_fwd.cpp
6 * Extension of class AST_UnionFwd that provides additional means for C++
11 //=============================================================================
13 #include "be_union_fwd.h"
14 #include "be_visitor.h"
15 #include "ast_union.h"
17 be_union_fwd::be_union_fwd (AST_Union
*dummy
,
20 AST_Decl (AST_Decl::NT_union_fwd
,
22 AST_Type (AST_Decl::NT_union_fwd
,
24 AST_StructureFwd (dummy
,
28 be_decl (AST_Decl::NT_union_fwd
,
30 be_type (AST_Decl::NT_union_fwd
,
32 be_structure_fwd (dummy
,
37 be_union_fwd::~be_union_fwd ()
42 be_union_fwd::destroy ()
44 this->be_structure_fwd::destroy ();
48 be_union_fwd::accept (be_visitor
*visitor
)
50 return visitor
->visit_union_fwd (this);