LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
function-dec.hxx
Go to the documentation of this file.
1 
6 #ifndef AST_FUNCTION_DEC_HXX
7 # define AST_FUNCTION_DEC_HXX
8 
9 # include <ast/function-dec.hh>
10 
11 namespace ast
12 {
13 
14 
15  inline const VarDecs&
17  {
18  return *formals_;
19  }
20  inline VarDecs&
22  {
23  return *formals_;
24  }
25 
26  inline const NameTy*
28  {
29  return result_;
30  }
31  inline NameTy*
33  {
34  return result_;
35  }
36 
37  inline const Exp*
39  {
40  return body_;
41  }
42  inline Exp*
44  {
45  return body_;
46  }
47  inline void
49  {
50  body_ = body;
51  }
52 
53 
54 
55 
56 } // namespace ast
57 
58 #endif // !AST_FUNCTION_DEC_HXX