summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/context.hxx')
-rw-r--r--cli/context.hxx39
1 files changed, 39 insertions, 0 deletions
diff --git a/cli/context.hxx b/cli/context.hxx
new file mode 100644
index 0000000..28b74eb
--- /dev/null
+++ b/cli/context.hxx
@@ -0,0 +1,39 @@
+// file : cli/context.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef CLI_CONTEXT_HXX
+#define CLI_CONTEXT_HXX
+
+#include <ostream>
+
+#include <cutl/shared-ptr.hxx>
+
+#include "semantics.hxx"
+#include "traversal.hxx"
+
+using std::endl;
+
+class context
+{
+private:
+ struct data
+ {
+ };
+
+ cutl::shared_ptr<data> data_;
+
+public:
+ std::ostream& os;
+
+public:
+ context (std::ostream& os_);
+ context (context& c);
+
+private:
+ context&
+ operator= (context const&);
+};
+
+#endif // CLI_CONTEXT_HXX