LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
bound-checking-visitor.hh
Go to the documentation of this file.
1 
6 #ifndef DESUGAR_BOUND_CHECKING_VISITOR_HH
7 # define DESUGAR_BOUND_CHECKING_VISITOR_HH
8 
9 # include <map>
10 # include <parse/tweast.hh>
11 # include <astclone/cloner.hh>
12 
13 namespace desugar
14 {
15 
18  {
19  public:
22 
23  // Import overloaded virtual functions.
24  using super_type::operator();
25 
28 
30  virtual ~BoundCheckingVisitor();
31 
32 
35  public:
36  // FIXME: Some code was deleted here.
38 
39  private:
43  static const std::string prelude;
44 
45  // Symbols would be nicer, but maps of symbols are
46  // inconvenient since there is no default ctor.
47  typedef std::map<const type::Array*, std::string> boxes_type;
50  };
51 
52 } // namespace desugar
53 
54 #endif // !DESUGAR_BOUND_CHECKING_VISITOR_HH