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
seq.hxx
Go to the documentation of this file.
1
6
#ifndef TREE_SEQ_HXX
7
# define TREE_SEQ_HXX
8
9
# include <
tree/seq.hh
>
10
11
namespace
tree
12
{
13
14
inline
15
Seq::Seq
(
const
tree_list_type
& children)
16
:
Stm
(children)
17
{
18
}
19
20
inline
21
Seq::Seq
(
const
rStm& left,
const
rStm& right)
22
:
Stm
()
23
{
24
push_back
(left);
25
push_back
(right);
26
}
27
28
inline
29
Seq::Seq
(
const
rStm& left)
30
:
Stm
()
31
{
32
push_back
(left);
33
}
34
35
inline
36
Seq::Seq
(std::initializer_list<rStm>
l
)
37
:
Stm
()
38
{
39
for
(
const
rStm& p : l)
40
push_back
(p);
41
}
42
43
inline
void
44
Seq::push_back
(
const
rStm& stm)
45
{
46
child_push_back
(stm);
47
}
48
49
}
50
51
#endif // !TREE_SEQ_HXX
tree
seq.hxx
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2