using System;

namespace antlr
{
	/*ANTLR Translator Generator
	* Project led by Terence Parr at http://www.jGuru.com
	* Software rights: http://www.antlr.org/license.html
	*
	* $Id:$
	*/
	
	//
	// ANTLR C# Code Generator by Micheal Jordan
	//                            Kunle Odutola       : kunle UNDERSCORE odutola AT hotmail DOT com
	//                            Anthony Oguntimehin
	//
	// With many thanks to Eric V. Smith from the ANTLR list.
	//

	public abstract class FileLineFormatter
	{
		
		private static FileLineFormatter formatter = new DefaultFileLineFormatter();
		
		public static FileLineFormatter getFormatter()
		{
			return formatter;
		}
		
		public static void  setFormatter(FileLineFormatter f)
		{
			formatter = f;
		}
		
		/*@param fileName the file that should appear in the prefix. (or null)
		* @param line the line (or -1)
		* @param column the column (or -1)
		*/
		public abstract string getFormatString(string fileName, int line, int column);
	}
}