예제 #1
0
 // STATEMENTS
 // StmtList ---
 public IrStmtList visit(AstStmtList n)
 {
     IrStmtList sl = new IrStmtList();
     for (int i = 0; i < n.Count(); i++)
         sl.add(n[i].accept(this));
     return sl;
 }
예제 #2
0
 /* throws Exception */
 public void visit(AstStmtList n)
 {
     for (int i = 0; i < n.Count(); i++)
         n[i].accept(this);
 }