code: public static String printAst(Node node) {
          StringWriter sw = new StringWriter();
          printAst(sw, node);
          return sw.toString();
      }
docs: This will pretty print the AST node in graphql language format
  
  @param node the AST node to print
  
  @return the printed node in graphql language format