LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
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
&
16
NameTy::name_get
()
const
17
{
18
return
name_
;
19
}
20
inline
void
21
NameTy::name_set
(
const
misc::symbol
& name)
22
{
23
name_
= name;
24
}
25
26
inline
const
TypeDec
*
27
NameTy::def_get
()
const
28
{
29
return
def_
;
30
}
31
inline
TypeDec
*
32
NameTy::def_get
()
33
{
34
return
def_
;
35
}
36
inline
void
37
NameTy::def_set
(
TypeDec
* def)
38
{
39
def_
= def;
40
}
41
42
43
}
// namespace ast
44
45
#endif // !AST_NAME_TY_HXX
ast
name-ty.hxx
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2