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

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

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

  public void generate()
  {
    int test;
    test = sizeOfChild();

    try{
    System.out.println("<svg>");
    for(int i = 2; i < test; i++)
    {
        jjtGetChild(i).generate();
    }
    System.out.println("</svg>");
    }
    catch (ArrayIndexOutOfBoundsException e)
    {
       System.out.println("No more objects");
    }
  }
}
