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

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

  public ASTText(drawsimple p, int id) {
    super(p, id);
  }
  
  public void generate()
  {
     int c1 = ((ASTInt) jjtGetChild(0)).val;
     int c2 = ((ASTInt) jjtGetChild(1)).val;
     int c3 = ((ASTInt) jjtGetChild(2)).val;
     // string c4 represents the text the 
     // user wants displayed and is returned from the ASTMessage
     String c4 = ((ASTMessage) jjtGetChild(0)).val; 
     
     System.out.println("<text x=\"" + c1 +
        "\" y=\"" + c2 +
        "\" font-family=\"" + "Tahoma" +
        "\" font-size=\"" + c3 +
        "\" fill=\"" + "Black" +
        "\">" + c4 + "</text>"); 
  }

}
