LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
name-ty.hxx
Go to the documentation of this file.
1 
6 #ifndef AST_NAME_TY_HXX
7 # define AST_NAME_TY_HXX
8 
9 # include <ast/name-ty.hh>
10 
11 namespace ast
12 {
13 
14 
15  inline const misc::symbol&
17  {
18  return name_;
19  }
20  inline void
22  {
23  name_ = name;
24  }
25 
26  inline const TypeDec*
28  {
29  return def_;
30  }
31  inline TypeDec*
33  {
34  return def_;
35  }
36  inline void
38  {
39  def_ = def;
40  }
41 
42 
43 } // namespace ast
44 
45 #endif // !AST_NAME_TY_HXX