Reporter

abstract class Reporter extends ReporterResult

This interface provides methods to issue information, warning and error messages.

Companion
object
trait ReporterResult
class Object
trait Matchable
class Any

Value members

Abstract methods

def doReport(dia: Diagnostic)(using Context): Unit

Report a diagnostic

Report a diagnostic

Concrete methods

All errors reported by this reporter (ignoring outer reporters)

All errors reported by this reporter (ignoring outer reporters)

The number of errors reported by this reporter (ignoring outer reporters)

The number of errors reported by this reporter (ignoring outer reporters)

Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?

Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?

def flush()(using 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.

Have errors been reported by this reporter (ignoring outer reporters)?

Have errors been reported by this reporter (ignoring outer reporters)?

Were sticky errors reported? Overridden in StoreReporter.

Were sticky errors reported? Overridden in StoreReporter.

Does this reporter contain errors that have yet to be reported by its outer reporter ? Note: this is always false when there is no outer reporter.

Does this reporter contain errors that have yet to be reported by its outer reporter ? Note: this is always false when there is no outer reporter.

Have warnings been reported by this reporter (ignoring outer reporters)?

Have warnings been reported by this reporter (ignoring outer reporters)?

def incomplete(dia: Diagnostic)(using Context): Unit
def isHidden(dia: Diagnostic)(using Context): Boolean

Should this diagnostic not be reported at all?

Should this diagnostic not be reported at all?

If this reporter buffers messages, all buffered messages, otherwise Nil

If this reporter buffers messages, all buffered messages, otherwise Nil

Print the summary of warnings and errors

Print the summary of warnings and errors

If this reporter buffers messages, remove and return all buffered messages.

If this reporter buffers messages, remove and return all buffered messages.

def report(dia: Diagnostic)(using Context): Unit
def reportNewFeatureUseSite(featureTrait: Symbol): Unit

Run op and return true if errors were reported by this reporter.

Run op and return true if errors were reported by this reporter.

Summary of warnings and errors

Summary of warnings and errors

The number of warnings reported by this reporter (ignoring outer reporters)

The number of warnings reported by this reporter (ignoring outer reporters)

def withIncompleteHandler[T](handler: ErrorHandler)(op: => T): T
def withoutTruncating[T](body: => T): T

Concrete fields