summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_generator.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_generator.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/ast/ast_generator.cpp b/TAO/TAO_IDL/ast/ast_generator.cpp
index f42bf71d2b0..0c1c673aca6 100644
--- a/TAO/TAO_IDL/ast/ast_generator.cpp
+++ b/TAO/TAO_IDL/ast/ast_generator.cpp
@@ -104,7 +104,8 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#include "ast_factory.h"
#include "ast_finder.h"
#include "ast_fixed.h"
-#include "ast_annotation_decl.h"
+#include "ast_annotation_appl.h"
+#include "ast_annotation_member.h"
#include "utl_identifier.h"
@@ -1177,3 +1178,14 @@ AST_Generator::create_annotation_appl (
ACE_NEW_RETURN (retval, AST_Annotation_Appl (name, params), 0);
return retval;
}
+
+AST_Annotation_Member *
+AST_Generator::create_annotation_member (
+ AST_Expression::ExprType expr_type,
+ AST_Type *type,
+ UTL_ScopedName *name)
+{
+ AST_Annotation_Member *retval = 0;
+ ACE_NEW_RETURN (retval, AST_Annotation_Member (expr_type, type, name), 0);
+ return retval;
+}