Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_mirror_port.cpp
blob7739c36e2d442ad9c50525739dc4f04bcb4d30bf
1 #include "ast_mirror_port.h"
2 #include "ast_porttype.h"
3 #include "ast_visitor.h"
5 #include "utl_identifier.h"
6 #include "utl_indenter.h"
7 #include "global_extern.h"
9 AST_Decl::NodeType const
10 AST_Mirror_Port::NT = AST_Decl::NT_mirror_port;
12 AST_Mirror_Port::AST_Mirror_Port (
13 UTL_ScopedName *n,
14 AST_PortType *porttype_ref)
15 : COMMON_Base (false,
16 false),
17 AST_Decl (AST_Decl::NT_mirror_port,
18 n),
19 AST_Field (AST_Decl::NT_mirror_port,
20 porttype_ref,
21 n),
22 AST_Extended_Port (n,
23 porttype_ref)
27 AST_Mirror_Port::~AST_Mirror_Port ()
31 void
32 AST_Mirror_Port::destroy ()
34 this->AST_Extended_Port::destroy ();
37 void
38 AST_Mirror_Port::dump (ACE_OSTREAM_TYPE &o)
40 this->dump_i (o, "port ");
42 this->local_name ()->dump (o);
45 int
46 AST_Mirror_Port::ast_accept (ast_visitor *visitor)
48 return visitor->visit_mirror_port (this);