Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_native.cpp
blobdb4cbca8c6572ac36128993858a85b906732bf03
1 #include "ast_native.h"
2 #include "ast_visitor.h"
4 AST_Decl::NodeType const
5 AST_Native::NT = AST_Decl::NT_native;
7 AST_Native::AST_Native (UTL_ScopedName *n)
8 : COMMON_Base (),
9 AST_Decl (AST_Decl::NT_native,
10 n),
11 AST_Type (AST_Decl::NT_native,
12 n),
13 AST_ConcreteType (AST_Decl::NT_native,
14 n),
15 UTL_Scope (AST_Decl::NT_native),
16 AST_Structure (AST_Decl::NT_native,
18 true,
19 false),
20 AST_Exception (n,
21 true,
22 false)
26 AST_Native::~AST_Native (void)
30 void
31 AST_Native::destroy (void)
33 this->AST_Exception::destroy ();
36 // Dump this AST_Native node to the ostream o.
37 void
38 AST_Native::dump (ACE_OSTREAM_TYPE &o)
40 AST_Decl::dump (o);
43 int
44 AST_Native::ast_accept (ast_visitor *visitor)
46 return visitor->visit_native (this);
51 IMPL_NARROW_FROM_DECL(AST_Native)