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
desugar-visitor.hh
Go to the documentation of this file.
1
6
#ifndef DESUGAR_DESUGAR_VISITOR_HH
7
# define DESUGAR_DESUGAR_VISITOR_HH
8
9
# include <map>
10
# include <
astclone/cloner.hh
>
11
12
namespace
desugar
13
{
14
16
class
DesugarVisitor
:
public
astclone::Cloner
17
{
18
public
:
20
typedef
astclone::Cloner
super_type
;
21
22
// Import overloaded virtual functions.
23
using
super_type::operator();
24
26
DesugarVisitor
(
bool
desugar_for_p,
27
bool
desugar_string_cmp_p);
28
30
virtual
~DesugarVisitor
();
31
34
public
:
36
virtual
void
operator()
(
const
ast::OpExp
&)
override
;
38
virtual
void
operator()
(
const
ast::ForExp
&)
override
;
40
41
private
:
43
bool
desugar_for_p_
;
45
bool
desugar_string_cmp_p_
;
46
};
47
48
}
// namespace desugar
49
50
#endif // !DESUGAR_DESUGAR_VISITOR_HH
desugar
desugar-visitor.hh
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2