public static String render(ParseTreeNode n) {
StringBuilder output = new StringBuilder();
TokenConsumer renderer = new JsPrettyPrinter(output);
n.render(new RenderContext(renderer));
renderer.noMoreTokens();
return output.toString();
}
/**
* Expands a parse tree node according to the rules of this