/*////////////////////////////////////////////////////////
Name: 	ASTProgram

Author: 	Sarah Han-de-Beaux

*////////////////////////////////////////////////////////

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

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

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

  public void generate(String Colour, int brush, int x, int y)
  {
  		System.out.println("<svg width=\"" + ((ASTInt)jjtGetChild(0)).val + "\" height=\"" + ((ASTInt)jjtGetChild(1)).val + "\">");
  	
		((SimpleNode)jjtGetChild(2)).generate(Colour, brush, x, y);
	
		System.out.println("</svg>");
  }

}
