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
subscript-var.hxx
Go to the documentation of this file.
1
6
#ifndef AST_SUBSCRIPT_VAR_HXX
7
# define AST_SUBSCRIPT_VAR_HXX
8
9
# include <
ast/subscript-var.hh
>
10
11
namespace
ast
12
{
13
14
15
inline
const
Var&
16
SubscriptVar::var_get
()
const
17
{
18
return
*
var_
;
19
}
20
inline
Var&
21
SubscriptVar::var_get
()
22
{
23
return
*
var_
;
24
}
25
26
inline
const
Exp
&
27
SubscriptVar::index_get
()
const
28
{
29
return
*
index_
;
30
}
31
inline
Exp
&
32
SubscriptVar::index_get
()
33
{
34
return
*
index_
;
35
}
36
37
38
}
// namespace ast
39
40
#endif // !AST_SUBSCRIPT_VAR_HXX
ast
subscript-var.hxx
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2