aboutsummaryrefslogtreecommitdiff
path: root/libxsd-frontend/traversal/complex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd-frontend/traversal/complex.hxx')
-rw-r--r--libxsd-frontend/traversal/complex.hxx43
1 files changed, 43 insertions, 0 deletions
diff --git a/libxsd-frontend/traversal/complex.hxx b/libxsd-frontend/traversal/complex.hxx
new file mode 100644
index 0000000..2109172
--- /dev/null
+++ b/libxsd-frontend/traversal/complex.hxx
@@ -0,0 +1,43 @@
+// file : libxsd-frontend/traversal/complex.hxx
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#ifndef LIBXSD_FRONTEND_TRAVERSAL_COMPLEX_HXX
+#define LIBXSD_FRONTEND_TRAVERSAL_COMPLEX_HXX
+
+#include <libxsd-frontend/traversal/elements.hxx>
+#include <libxsd-frontend/semantic-graph/complex.hxx>
+
+namespace XSDFrontend
+{
+ namespace Traversal
+ {
+ struct Complex : ScopeTemplate<SemanticGraph::Complex>
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ name (Type&);
+
+ virtual void
+ inherits (Type&);
+
+ void
+ inherits (Type&, EdgeDispatcher&);
+
+ virtual void
+ contains_compositor (Type&);
+
+ void
+ contains_compositor (Type&, EdgeDispatcher&);
+
+ virtual void
+ post (Type&);
+ };
+ }
+}
+
+#endif // LIBXSD_FRONTEND_TRAVERSAL_COMPLEX_HXX