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

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

  public ASTBlock(drawsimple p, int id) {
    super(p, id);
  }
  
  public void generate()
  {
    int stroke;
    String ((ASTColour)jjtGetChild().toString);
    
    if(jjtGetParent() == Brush)
    {
       stroke = ((ASTBrush)jjtGetChild().val)
    }
    else
    {
       stroke = 1;
    }
    
    for(int i = 0;i < jjGetNumChildren();i++)
    {
       jjtGetChild(i).generate();
    }
  }

}
