/* 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()
  {
    String text = "";
    String inputMsg = ((ASTString) jjtGetChild(3)).val;
    
    
    text = inputMsg.substring(1,inputMsg.length()-1); 

    System.out.println( "<text x=\"" + ((ASTInt) jjtGetChild(0)).val +
              "\" y=\"" + ((ASTInt) jjtGetChild(1)).val +
              "\" font size=\"" + ((ASTInt) jjtGetChild(2)).val +
              "\">" + text +
           "</text>");
   }
}
