LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
method.hxx
Go to the documentation of this file.
1 
5 #ifndef TYPE_METHOD_HXX
6 # define TYPE_METHOD_HXX
7 
8 namespace type
9 {
10 
11  inline misc::symbol
13  {
14  return name_;
15  }
16 
17  inline const Class*
19  {
20  return owner_;
21  }
22 
23  inline const ast::MethodDec*
25  {
26  return def_;
27  }
28 
29  inline ast::MethodDec*
31  {
32  return def_;
33  }
34 
35  inline void
37  {
38  name_ = name;
39  }
40 
41  inline void
43  {
44  def_ = def;
45  }
46 
47 }
48 
49 #endif // !TYPE_METHOD_HXX