aboutsummaryrefslogtreecommitdiff
path: root/libxsd-frontend/semantic-graph/namespace.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd-frontend/semantic-graph/namespace.hxx')
-rw-r--r--libxsd-frontend/semantic-graph/namespace.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/libxsd-frontend/semantic-graph/namespace.hxx b/libxsd-frontend/semantic-graph/namespace.hxx
new file mode 100644
index 0000000..1ae0a6f
--- /dev/null
+++ b/libxsd-frontend/semantic-graph/namespace.hxx
@@ -0,0 +1,26 @@
+// file : libxsd-frontend/semantic-graph/namespace.hxx
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#ifndef LIBXSD_FRONTEND_SEMANTIC_GRAPH_NAMESPACE_HXX
+#define LIBXSD_FRONTEND_SEMANTIC_GRAPH_NAMESPACE_HXX
+
+#include <libxsd-frontend/semantic-graph/elements.hxx>
+
+namespace XSDFrontend
+{
+ namespace SemanticGraph
+ {
+ class Namespace : public virtual Scope
+ {
+ public:
+ Namespace (Path const& file, unsigned long line, unsigned long column);
+
+ void
+ add_edge_right (BelongsToNamespace&) {}
+
+ using Scope::add_edge_right;
+ };
+ }
+}
+
+#endif // LIBXSD_FRONTEND_SEMANTIC_GRAPH_NAMESPACE_HXX