public static String visitCodeNode(Node n,String inheritance,CompilerLogger logger)
	throws CopperException
	{
		String parentName = n.getParentNode().getNodeName();
		if(!parentName.equals("preamble") && !parentName.equals("term") &&
		   !parentName.equals("prod") && !parentName.equals("disambig_func"))
		{
			formalError(logger,n,"missing","preamble', 'term', 'prod', or 'disambig_func","parent");
			return null;
		}
		return n.getTextContent();
	}