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

public class ASTLiteral extends SimpleNode 
{
	String name;
	
	/*************************************************
	
					Constructors
		
	*************************************************/
  
  	public ASTLiteral(int id) 
  	{
  		super(id);
  	}

 	public ASTLiteral(drawphase2 p, int id) 
 	{
    	super(p, id);
  	}
  	
  	/*************************************************
	
	toString() method to make sure output is in correct
	format
		
	*************************************************/
  	
  	public String toString()
  	{
  		return "Literal: " + name;
  	}
  
  	public int getBrush()
  	{
  		return 0;
  	}
  	
  	public String getColour()
  	{
  		return null;
  	}
  	
  	/*************************************************
	
	Returns the node type to distingush between literal
	and int
		
	*************************************************/
  	
  	public String getParentType()
  	{
  		String type = "literal";
  		
  		return type;
  	}
  	
  	public int getOffsetX()
  	{
  		return 0;
  	}
 
  	public int getOffsetY()
	{
  		return 0;
  	}

}
