LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
for-exp.hxx
Go to the documentation of this file.
1 
6 #ifndef AST_FOR_EXP_HXX
7 # define AST_FOR_EXP_HXX
8 
9 # include <ast/for-exp.hh>
10 
11 namespace ast
12 {
13 
14 
15  inline const VarDec&
17  {
18  return *vardec_;
19  }
20  inline VarDec&
22  {
23  return *vardec_;
24  }
25 
26  inline const Exp&
28  {
29  return *hi_;
30  }
31  inline Exp&
33  {
34  return *hi_;
35  }
36 
37  inline const Exp&
39  {
40  return *body_;
41  }
42  inline Exp&
44  {
45  return *body_;
46  }
47 
48 
49 } // namespace ast
50 
51 #endif // !AST_FOR_EXP_HXX