2 //=============================================================================
4 * @file be_component_fwd.cpp
6 * Extension of class AST_ComponentFwd that provides additional means for C++
7 * mapping of a forward declared component.
11 //=============================================================================
13 #include "be_component_fwd.h"
14 #include "be_visitor.h"
15 #include "global_extern.h"
18 be_component_fwd::be_component_fwd (AST_Interface
*dummy
,
21 AST_Decl (AST_Decl::NT_component_fwd
,
23 AST_Type (AST_Decl::NT_component_fwd
,
25 AST_InterfaceFwd (dummy
,
27 AST_ComponentFwd (dummy
,
29 be_decl (AST_Decl::NT_component_fwd
,
31 be_type (AST_Decl::NT_component_fwd
,
33 be_interface_fwd (dummy
,
36 this->size_type (AST_Type::VARIABLE
);
39 be_component_fwd::~be_component_fwd (void)
44 be_component_fwd::destroy (void)
46 this->AST_ComponentFwd::destroy ();
50 be_component_fwd::accept (be_visitor
*visitor
)
52 return (idl_global
->ignore_idl3 ()
54 : visitor
->visit_component_fwd (this));
59 IMPL_NARROW_FROM_DECL (be_component_fwd
)