Exemple #1
0
 public void toFile(Ast ast) throws IOException {
   w.write(AstDump.toString(ast, true));
   w.close();
 }
Exemple #2
0
 public void toFile(List<? extends Ast> astRoots) throws IOException {
   for (Ast a : astRoots) {
     w.append(AstDump.toString(a, true));
   }
   w.close();
 }