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