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



  public class ASTblock extends SimpleNode {

  protected int j,xOff=0,yOff=0,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);
    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 setLineWidth(int i)
  {
    linewidth = jjtGetParent().getLineWidth();
  }

  public int getLineWidth()
  {
    return linewidth;
  }

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

  public String getColour()
  {
    return colour;
  }

}
