/* Generated By:JJTree: Do not edit this line. ASTProgram.java */

public class ASTProgram extends SimpleNode {
  public ASTProgram(int id) {
    super(id);
  }

  public ASTProgram(drawphase1 p, int id) {
    super(p, id);
  }

  public void generate()
  {
    System.out.println("<svg width=\"" + ((ASTInt) jjtGetChild(0)).toString() + "\" height=\"" 
       + ((ASTInt) jjtGetChild(1)).toString() + "\">");

    for(int i=2; i < jjtGetNumChildren(); i++)
    {
       System.out.print("   ");
       jjtGetChild(i).generate();
    }
    System.out.println("</svg>");
  }
}
