Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_emits.cpp
blobe77f67efde7455438fe92ace96a02063b36473ab
1 #include "ast_emits.h"
2 #include "ast_visitor.h"
4 AST_Decl::NodeType const
5 AST_Emits::NT = AST_Decl::NT_emits;
7 AST_Emits::AST_Emits (UTL_ScopedName *n,
8 AST_Type *emits_type)
9 : COMMON_Base (),
10 AST_Decl (AST_Decl::NT_emits,
11 n),
12 AST_Field (AST_Decl::NT_emits,
13 emits_type,
18 AST_Emits::~AST_Emits ()
22 AST_Type *
23 AST_Emits::emits_type () const
25 return this->field_type ();
28 void
29 AST_Emits::dump (ACE_OSTREAM_TYPE &o)
31 this->dump_i (o, "emits ");
32 this->AST_Field::dump (o);
35 int
36 AST_Emits::ast_accept (ast_visitor *visitor)
38 return visitor->visit_emits (this);
41 void
42 AST_Emits::destroy ()
44 this->AST_Field::destroy ();