summaryrefslogtreecommitdiff
path: root/cli/context.hxx
blob: 28b74ebf91586aa384299ccf678cb9e7e522f4d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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