public static IntermediateNode visitLayoutNode(Node n,String inheritance,CompilerLogger logger)
	throws CopperException
	{
		IntermediateNode rv;
		if(!n.hasChildNodes() || n.getChildNodes().getLength() == 0)
		{
			return null;
		}
		else if(n.getChildNodes().getLength() == 1) return visitDOMNode(n.getFirstChild(),null,logger);
		else
		{
			rv = visitDOMNode(n.getFirstChild(),null,logger);
			for(int i = 1;i < n.getChildNodes().getLength();i++)
			{
				rv = new IntermediateConsNode(visitDOMNode(n.getChildNodes().item(i),null,logger),rv); 
			}
			return rv;
		}
	}