Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_native.h
blob5d2ed380ea5f1a5eae1747d02671fd5a4ca798cd
1 #ifndef _AST_NATIVE_H_
2 #define _AST_NATIVE_H_
4 #include "ast_exception.h"
6 // Representation of "native" IDL type. It may be used as a
7 // return type, parameter type, or in an operation's
8 // exception list. This last usage creates special problems
9 // with both syntax checking and code generation. Letting
10 // this class inherit from AST_Exception is the most seamless
11 // way to handle it, and does not affect the other use cases.
12 class TAO_IDL_FE_Export AST_Native : public virtual AST_Exception
14 public:
15 AST_Native (UTL_ScopedName *n);
17 virtual ~AST_Native ();
19 // Cleanup.
20 virtual void destroy ();
22 // AST Dumping.
23 virtual void dump (ACE_OSTREAM_TYPE &o);
25 // Visiting.
26 virtual int ast_accept (ast_visitor *visitor);
28 static AST_Decl::NodeType const NT;
31 #endif /* AST_NATIVE_H */