LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
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
17
class
BoundCheckingVisitor
:
public
astclone::Cloner
18
{
19
public
:
21
typedef
astclone::Cloner
super_type
;
22
23
// Import overloaded virtual functions.
24
using
super_type::operator();
25
27
BoundCheckingVisitor
();
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
;
49
boxes_type
boxes_
;
50
};
51
52
}
// namespace desugar
53
54
#endif // !DESUGAR_BOUND_CHECKING_VISITOR_HH
desugar
bound-checking-visitor.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2