class ConsoleReporter
extends Reporter with UniqueMessagePositions with HideNonSensicalMessages with MessageRendering

This class implements a Reporter that displays messages on a text console

Constructors

ConsoleReporter ( reader: BufferedReader , writer: PrintWriter )

Members

[+] private val reader : BufferedReader
[+] private val writer : PrintWriter
[+] protected def ErrorLimit : Int

maximal number of error messages to be printed

maximal number of error messages to be printed

[+] def displayPrompt ( ) ( implicit ctx: Context ) : Unit

Show prompt if -Xprompt is passed as a flag to the compiler

Show prompt if -Xprompt is passed as a flag to the compiler

[+] def doReport ( m: MessageContainer ) ( implicit ctx: Context ) : Unit

Prints the message with the given position indication.

Prints the message with the given position indication.

[+] override def flush ( ) ( implicit ctx: Context ) : Unit

Issue all error messages in this reporter to next outer one, or make sure they are written.

Issue all error messages in this reporter to next outer one, or make sure they are written.

[+] def printMessage ( msg: String ) : Unit

Prints the message.

Prints the message.