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



public class ASTblock extends SimpleNode {

  

  protected int j,xOff,yOff,scaleX = 1,scaleY = 1,stampX=0,stampY=0,stampNumber = 1,linewidth = 1;

  protected String colour = "black";

  public ASTblock(int id) {
    super(id);
  }

  public ASTblock(S p, int id) {
    super(p, id);
  }

  public void getSVG()
  {
    j = jjtGetNumChildren();
    
   

    setYOff(1);
    setXOff(1);
    setScaleX(1);
    setScaleY(1);
    setStampX(1);
    setStampY(1);
    setStampNumber(1);
    setLineWidth(1);
    setColour("nocolour");

    for(int i = 0; i < j; i ++)
    {
       jjtGetChild(i).getSVG();
    }
  }
  
  public int getParam()
  {
     return 0;
  }

  public void setYOff(int i)
  {
     yOff = jjtGetParent().getYOff();
  }

  public void setXOff(int i)
  {
     xOff = jjtGetParent().getXOff();
  }

  public int getYOff()
  {
    return yOff;
  }
  public int getXOff()
  {
    return xOff;
  }
  
  

  public void setScaleX(int i)
  {
    scaleX = jjtGetParent().getScaleX();
  }

  public void setScaleY(int i)
  {
    scaleY = jjtGetParent().getScaleY();
  }

  public int getScaleX()
  {
    return scaleX;
  }

  public int getScaleY()
  {
    return scaleY;
  } 

  public void setStampX(int i)
  {
    stampX = jjtGetParent().getStampX();
  }

  public void setStampY(int i)
  {
    stampY = jjtGetParent().getStampY();
  }

  public void setStampNumber(int i)
  {
    stampNumber = jjtGetParent().getStampNumber();
  }

  public int getStampX()
  {
    return stampX;
  }

  public int getStampY()
  {
    return stampY;
  }

  public int getStampNumber()
  {
    return stampNumber;
  }

  public void setLineWidth(int i)
  {
     linewidth = jjtGetParent().getLineWidth();
  }

  public int getLineWidth()
  {
    return linewidth;
  }

  public void setColour(String i)
  {
     colour = jjtGetParent().getColour();
  }

  public String getColour()
  {
    return colour;
  }

}
