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

public class ASTColour extends SimpleNode 
{
	String colour;
	
	public ASTColour(int id) 
	{
    	super(id);
  	}

  	public ASTColour(drawphase1 p, int id) 
  	{
    	super(p, id);
  	}
  	
  	public void generate()
  	{
  		String colour;
  		
  		colour = ((ASTLiteral) jjtGetChild(0)).name;
  		
  		System.out.println(colour);
  	}
  	
  	public String generateSVG()
  	{
  		String colour;
  		
  		colour = ((ASTLiteral) jjtGetChild(0)).name;
  		
  		return colour;
  	}


}
