summaryrefslogtreecommitdiff
path: root/cli/semantics/class.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/semantics/class.hxx')
-rw-r--r--cli/semantics/class.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/cli/semantics/class.hxx b/cli/semantics/class.hxx
new file mode 100644
index 0000000..1e6b59c
--- /dev/null
+++ b/cli/semantics/class.hxx
@@ -0,0 +1,25 @@
+// file : cli/semantics/class.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CLI_SEMANTICS_CLASS_HXX
+#define CLI_SEMANTICS_CLASS_HXX
+
+#include <semantics/elements.hxx>
+
+namespace semantics
+{
+ class class_: public scope
+ {
+ protected:
+ friend class graph<node, edge>;
+
+ class_ (path const& file, size_t line, size_t column)
+ : node (file, line, column)
+ {
+ }
+ };
+}
+
+#endif // CLI_SEMANTICS_CLASS_HXX