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
const.hh
Go to the documentation of this file.
1
6
#ifndef TREE_CONST_HH
7
# define TREE_CONST_HH
8
9
# include <iosfwd>
10
# include <
tree/exp.hh
>
11
12
namespace
tree
13
{
14
15
class
Const
:
public
Exp
16
{
17
public
:
19
explicit
Const
(
int
value);
20
24
25
const
int
&
value_get
()
const
;
26
28
virtual
kind_tree_type
kind_get
()
const override
;
29
35
virtual
std::ostream&
tag_print
(std::ostream& ostr)
const override
;
36
39
private
:
40
const
int
value_
;
41
};
42
43
}
44
45
# include <
tree/const.hxx
>
46
47
#endif // !TREE_CONST_HH
tree
const.hh
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2