/* 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 void generate()
{
int xleft =((ASTInt) jjtGetChild(0)).val;
int ybottom = ((ASTInt) jjtGetChild(1)).val;
int font = ((ASTInt) jjtGetChild(2)).val;
int ytop = ybottom+font;

System.out.println("<text x=\"" + xleft +
  "\" y=\"" + ybottom +
  "\" font-size=\"" + font +
"\" >" + ((ASTString) jjtGetChild(3)).val + "</text>");
}

}
