Added ability to order the execution of dictionary adapter behaviors.
[castle.git] / Experiments / Attic / Rook / Castle.Rook.Compiler / Parser / antlr / FileLineFormatter.cs
blobd8cd37007bdae56e5fffdfd749c13878f71ddfb8
1 using System;
3 namespace antlr
5 /*ANTLR Translator Generator
6 * Project led by Terence Parr at http://www.jGuru.com
7 * Software rights: http://www.antlr.org/license.html
9 * $Id:$
13 // ANTLR C# Code Generator by Micheal Jordan
14 // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com
15 // Anthony Oguntimehin
17 // With many thanks to Eric V. Smith from the ANTLR list.
20 public abstract class FileLineFormatter
23 private static FileLineFormatter formatter = new DefaultFileLineFormatter();
25 public static FileLineFormatter getFormatter()
27 return formatter;
30 public static void setFormatter(FileLineFormatter f)
32 formatter = f;
35 /*@param fileName the file that should appear in the prefix. (or null)
36 * @param line the line (or -1)
37 * @param column the column (or -1)
39 public abstract string getFormatString(string fileName, int line, int column);