Package antlr
Class FileLineFormatter
- java.lang.Object
-
- antlr.FileLineFormatter
-
- Direct Known Subclasses:
DefaultFileLineFormatter
public abstract class FileLineFormatter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileLineFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.StringgetFormatString(java.lang.String fileName, int line, int column)static FileLineFormattergetFormatter()static voidsetFormatter(FileLineFormatter f)
-
-
-
Method Detail
-
getFormatter
public static FileLineFormatter getFormatter()
-
setFormatter
public static void setFormatter(FileLineFormatter f)
-
getFormatString
public abstract java.lang.String getFormatString(java.lang.String fileName, int line, int column)- Parameters:
fileName- the file that should appear in the prefix. (or null)line- the line (or -1)column- the column (or -1)
-
-