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

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

  public ASTText(drawphase1 p, int id) {
    super(p, id);
  }
  
  public String generate()
  {
  	//Prints out and returns the necessary SVG code for text.
  	String temp;
  	temp = ("<text x=\"" + ((ASTInt)jjtGetChild(0)).val + "\" y=\"" + ((ASTInt)jjtGetChild(1)).val + "\" font-family=\"Verdana\" font-size=\"" + ((ASTInt)jjtGetChild(2)).val + "\" >" + ((ASTLiteral)jjtGetChild(3)).name + "</text>");
	System.out.println(temp);
	return temp;
  }

}
