LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
seq.hh
Go to the documentation of this file.
1 
6 #ifndef TREE_SEQ_HH
7 # define TREE_SEQ_HH
8 
9 # include <iosfwd>
10 # include <tree/stm.hh>
11 
12 namespace tree
13 {
14 
15  class Seq : public Stm
16  {
17 
18  public:
22 
23  Seq (const tree_list_type& children);
24 
26  Seq (const rStm& left, const rStm& right);
27 
29  Seq (const rStm& left);
30 
32  Seq (std::initializer_list<rStm> l);
33 
35  Seq () = default;
36 
42 
43  virtual kind_tree_type kind_get () const override;
44 
47 
48  void push_back (const rStm& stm);
49 
53  virtual std::ostream& tag_print (std::ostream&) const override;
54  virtual std::ostream& dump (std::ostream& ostr) const override;
55 
58  };
59 
60 }
61 
62 # include <tree/seq.hxx>
63 
64 #endif // !TREE_SEQ_HH