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
simple-var.hxx
Go to the documentation of this file.
1
6
#ifndef AST_SIMPLE_VAR_HXX
7
# define AST_SIMPLE_VAR_HXX
8
9
# include <
ast/simple-var.hh
>
10
11
namespace
ast
12
{
13
14
15
inline
const
misc::symbol
&
16
SimpleVar::name_get
()
const
17
{
18
return
name_
;
19
}
20
inline
void
21
SimpleVar::name_set
(
const
misc::symbol
& name)
22
{
23
name_
= name;
24
}
25
26
inline
const
VarDec
*
27
SimpleVar::def_get
()
const
28
{
29
return
def_
;
30
}
31
inline
VarDec
*
32
SimpleVar::def_get
()
33
{
34
return
def_
;
35
}
36
inline
void
37
SimpleVar::def_set
(
VarDec
* def)
38
{
39
def_
= def;
40
}
41
42
43
}
// namespace ast
44
45
#endif // !AST_SIMPLE_VAR_HXX
ast
simple-var.hxx
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2