LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
level.hxx
Go to the documentation of this file.
1 
6 #ifndef TRANSLATE_LEVEL_HXX
7 # define TRANSLATE_LEVEL_HXX
8 
9 # include <translate/level.hh>
10 
11 namespace translate
12 {
13 
14  inline const Level*
16  {
17  return parent_;
18  }
19 
20  inline frame::Frame&
22  {
23  return *frame_;
24  }
25 
26  inline const frame::Frame&
28  {
29  return *frame_;
30  }
31 
32  inline const access_list_type&
34  {
35  return formals_;
36  }
37 
38  // Report.
39  inline std::ostream&
40  operator<<(std::ostream& o, const Level& l)
41  {
42  return l.dump(o);
43  }
44 
45 }
46 
47 #endif // !TRANSLATE_LEVEL_HXX