示例#1
0
 private void AddSubExp(Exp exp, List <Exp> list)
 {
     list.Add(exp);
     Exp[] subexps = exp.GetSubExps();
     foreach (var expsub in subexps)
     {
         AddSubExp(expsub, list);
     }
 }
示例#2
0
 public override Exp[] GetSubExps()
 {
     return(SrcExp.GetSubExps());
 }