CollectionReporter

class CollectionReporter extends Reporter with UniqueMessagePositions
trait UniqueMessagePositions
class Reporter
trait ReporterResult
class Object
trait Matchable
class Any

Value members

Concrete methods

override def doReport(dia: Diagnostic)(using Context): Unit
Definition Classes
Reporter
override def pendingMessages(using Context): List[Diagnostic]
Definition Classes
Reporter

Inherited methods

def allErrors: List[Error]

All errors reported by this reporter (ignoring outer reporters)

All errors reported by this reporter (ignoring outer reporters)

Inherited from:
Reporter
def errorCount: Int

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

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

Inherited from:
Reporter
def errorsReported: Boolean

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?

Inherited from:
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.

Inherited from:
Reporter
def hasErrors: Boolean

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

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

Inherited from:
Reporter
def hasStickyErrors: Boolean

Were sticky errors reported? Overridden in StoreReporter.

Were sticky errors reported? Overridden in StoreReporter.

Inherited from:
Reporter
def hasUnreportedErrors: Boolean

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.

Inherited from:
Reporter
def hasWarnings: Boolean

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

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

Inherited from:
Reporter
def incomplete(dia: Diagnostic)(using Context): Unit
Inherited from:
Reporter
override def isHidden(dia: Diagnostic)(using Context): Boolean

Logs a position and returns true if it was already logged.

Logs a position and returns true if it was already logged.

Note:

Two positions are considered identical for logging if they have the same point.

Definition Classes
UniqueMessagePositions -> Reporter
Inherited from:
UniqueMessagePositions
def isReportedFeatureUseSite(featureTrait: Symbol): Boolean
Inherited from:
Reporter
def issueIfNotSuppressed(dia: Diagnostic)(using Context): Unit
Inherited from:
Reporter
def printSummary(using Context): Unit

Print the summary of warnings and errors

Print the summary of warnings and errors

Inherited from:
Reporter
def removeBufferedMessages(using Context): List[Diagnostic]

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

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

Inherited from:
Reporter
def report(dia: Diagnostic)(using Context): Unit
Inherited from:
Reporter
def reportNewFeatureUseSite(featureTrait: Symbol): Unit
Inherited from:
Reporter
def reportsErrorsFor(op: Context => Unit)(using Context): Boolean

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

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

Inherited from:
Reporter
def summary: String

Summary of warnings and errors

Summary of warnings and errors

Inherited from:
Reporter
def truncationOK: Boolean
Inherited from:
Reporter
def warningCount: Int

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

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

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

Concrete fields

val allDiags: Builder[Diagnostic, List[Diagnostic]]

Inherited fields

var unreportedWarnings: Map[String, Int]
Inherited from:
Reporter