LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 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 
17  {
18  public:
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:
46  };
47 
48 } // namespace desugar
49 
50 #endif // !DESUGAR_DESUGAR_VISITOR_HH