summaryrefslogtreecommitdiff
path: root/ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h')
-rw-r--r--ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h b/ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
new file mode 100644
index 00000000000..c2a0d41e8ef
--- /dev/null
+++ b/ACE/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
@@ -0,0 +1,50 @@
+//
+// $Id$
+//
+
+/* -*- c++ -*- */
+// ============================================================================
+//
+// = LIBRARY
+// TAO IDL
+//
+// = FILENAME
+// ast_visitor_tmpl_module_ref.h
+//
+// = DESCRIPTION
+// This visitor creates nodes resulting from the reference
+// to one inside another, and adds these nodes to the AST.
+//
+// = AUTHOR
+// Jeff Parsons
+//
+// ============================================================================
+
+#ifndef TAO_AST_VISITOR_TMPL_MODULE_REF_H
+#define TAO_AST_VISITOR_TMPL_MODULE_REF_H
+
+#include "ast_visitor_tmpl_module_inst.h"
+
+class ast_visitor_tmpl_module_ref
+ : public ast_visitor_tmpl_module_inst
+{
+ //
+ // = TITLE
+ // ast_visitor_tmpl_module_ref
+ //
+ // = DESCRIPTION
+ // Adds implied IDL code to the AST related to the
+ // alias of a template module. This class reuses all
+ // the methods from the base class except the no-op
+ // visit_template_module_ref(), which it overrides.
+ //
+public:
+ ast_visitor_tmpl_module_ref (ast_visitor_context *ctx);
+
+ virtual ~ast_visitor_tmpl_module_ref (void);
+
+ virtual int visit_template_module_ref (AST_Template_Module_Ref *node);
+};
+
+#endif // TAO_AST_VISITOR_TMPL_MODULE_INST_H
+