* Just write sthe body annotated source code without a surrounding
* <body> tag. This method can be invoked directly if the caller
* wants to embed the generated HTML into a bigger HTML document.
*/
public void writeBody(JavaScriptStreamWriter out) throws IOException {
Root tree = buildTree();
tree.collectSymbols(out);
out.resetList();
out.writeSymbolTable();
// write the body
out.println();
out.resetList();
out.print("return ");
tree.write(out);
}