BasicConsoleReporter

edu.vermontstate.mercury.BasicConsoleReporter

An implementation of the Reporter trait that outputs messages to the console.

Attributes

Graph
Supertypes
trait Reporter
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def reportError(line: Int, column: Int, message: String): Unit

Used to report an error condition. If an error is detected code can not be generated.

Used to report an error condition. If an error is detected code can not be generated.

Value parameters

column

The column on the line where the error was detected.

line

The line in the source file where the error was detected.

message

The human readable message describing the error.

Attributes

def reportWarning(line: Int, column: Int, message: String): Unit

Used to report a warning condition. Warnings do not prevent code from being generated.

Used to report a warning condition. Warnings do not prevent code from being generated.

Value parameters

column

THe column on hte line where the warning was detected.

line

The line in the source file where the warning was detected.

message

THe human readable message describing the warning.

Attributes

Concrete fields

var errorCount: Int
var warningCount: Int