1 #include "ast_component_fwd.h"
2 #include "ast_visitor.h"
3 #include "utl_identifier.h"
5 AST_Decl::NodeType
const
6 AST_ComponentFwd::NT
= AST_Decl::NT_component_fwd
;
8 AST_ComponentFwd::AST_ComponentFwd (AST_Interface
*dummy
,
12 AST_Decl (AST_Decl::NT_component_fwd
,
14 AST_Type (AST_Decl::NT_component_fwd
,
16 AST_InterfaceFwd (dummy
,
21 AST_ComponentFwd::~AST_ComponentFwd (void)
25 // Redefinition of inherited virtual operations.
27 // Dump this AST_InterfaceFwd node to the ostream o.
29 AST_ComponentFwd::dump (ACE_OSTREAM_TYPE
&o
)
31 this->dump_i (o
, "component ");
33 this->local_name ()->dump (o
);
37 AST_ComponentFwd::ast_accept (ast_visitor
*visitor
)
39 return visitor
->visit_component_fwd (this);
43 AST_ComponentFwd::destroy (void)
45 this->AST_InterfaceFwd::destroy ();
49 AST_ComponentFwd::is_fwd (void)
51 return true; // This is a fwd declared type
54 IMPL_NARROW_FROM_DECL (AST_ComponentFwd
)