presto-parser/src/main/java/io/prestosql/sql/SqlFormatter.java/SqlFormatter/formatSql
class SqlFormatter:    public static String formatSql(Node root)
    {
        StringBuilder builder = new StringBuilder();
        new Formatter(builder).process(root, 0);
        return builder.toString();
    }