示例#1
0
文件: Canon.cs 项目: Nxun/Naive-Tiger
 public static Tree.ESEQ ReorderExp(Tree.Expr e)
 {
     StmExpList x = Reorder(e.Kids());
     return new Tree.ESEQ(x.Stm, e.Build(x.Exps));
 }
示例#2
0
文件: Canon.cs 项目: Nxun/Naive-Tiger
 static Tree.Stm ReorderStm(Tree.Stm s)
 {
     StmExpList x = Reorder(s.Kids());
     return Seq(x.Stm, s.Build(x.Exps));
 }