LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sxp.hxx
Go to the documentation of this file.
1 
6 #ifndef TREE_SXP_HXX
7 # define TREE_SXP_HXX
8 
9 # include <tree/sxp.hh>
10 
11 namespace tree
12 {
13 
14  inline
15  Sxp::Sxp(const rExp& exp)
16  : Stm()
17  {
18  child_push_back(exp);
19  }
20 
21  inline rExp
22  Sxp::exp_get() const
23  {
24  return child_get(0).cast<Exp>();
25  }
26 
27 }
28 
29 #endif // !TREE_SXP_HXX