LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
access.hh
Go to the documentation of this file.
1 
6 #ifndef TRANSLATE_ACCESS_HH
7 # define TRANSLATE_ACCESS_HH
8 
9 # include <iosfwd>
10 
11 # include <tree/fwd.hh>
12 # include <frame/fwd.hh>
13 # include <translate/fwd.hh>
14 
15 namespace translate
16 {
17 
27  class Access
28  {
29  public:
30  Access(const Level& home, const frame::Access* access);
31 
32  public:
34  const Level& home_get() const;
36  const frame::Access* access_get() const;
37 
43  tree::rExp exp(const Level& use) const;
44 
45  private:
47  const Level& home_;
50  };
51 
53  std::ostream& operator<<(std::ostream& o, const Access& a);
54 
56  std::ostream& operator<<(std::ostream& o, const access_list_type& as);
57 
58 } // namespace translate
59 
60 # include <translate/access.hxx>
61 
62 #endif // !TRANSLATE_ACCESS_HH