summaryrefslogtreecommitdiff
path: root/cli/traversal/namespace.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/traversal/namespace.hxx')
-rw-r--r--cli/traversal/namespace.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/cli/traversal/namespace.hxx b/cli/traversal/namespace.hxx
new file mode 100644
index 0000000..5903582
--- /dev/null
+++ b/cli/traversal/namespace.hxx
@@ -0,0 +1,27 @@
+// file : cli/traversal/namespace.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CLI_TRAVERSAL_NAMESPACE_HXX
+#define CLI_TRAVERSAL_NAMESPACE_HXX
+
+#include <traversal/elements.hxx>
+#include <semantics/namespace.hxx>
+
+namespace traversal
+{
+ struct namespace_: scope_template<semantics::namespace_>
+ {
+ virtual void
+ traverse (type&);
+
+ virtual void
+ pre (type&);
+
+ virtual void
+ post (type&);
+ };
+}
+
+#endif // CLI_TRAVERSAL_NAMESPACE_HXX