dotty.tools.dotc.reporting

UniqueMessagePositions

Related Doc: package reporting

trait UniqueMessagePositions extends Reporter

This trait implements isHidden so that multiple messages per position are suppressed, unless they are of increasing severity.

Linear Supertypes
Reporter, ReporterResult, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UniqueMessagePositions
  2. Reporter
  3. ReporterResult
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ErrorHandler = (MessageContainer) ⇒ (Context) ⇒ Unit

    Definition Classes
    Reporter

Abstract Value Members

  1. abstract def doReport(m: MessageContainer)(implicit ctx: Context): Unit

    Report a diagnostic

    Report a diagnostic

    Definition Classes
    Reporter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def allErrors: List[Error]

    Definition Classes
    Reporter
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def countString(n: Int, elements: String): String

    Returns a string meaning "n elements".

    Returns a string meaning "n elements".

    Attributes
    protected
    Definition Classes
    Reporter
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. var errorCount: Int

    Definition Classes
    Reporter → ReporterResult
  11. 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?

    Definition Classes
    Reporter
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. 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.

    Definition Classes
    Reporter
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hasErrors(): Boolean

    Definition Classes
    Reporter → ReporterResult
  16. def hasPending: Boolean

    Does this reporter contain not yet reported errors or warnings?

    Does this reporter contain not yet reported errors or warnings?

    Definition Classes
    Reporter
  17. def hasWarnings(): Boolean

    Definition Classes
    Reporter → ReporterResult
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def incomplete(m: MessageContainer)(implicit ctx: Context): Unit

    Definition Classes
    Reporter
  20. def isHidden(m: MessageContainer)(implicit ctx: Context): Boolean

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

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

    Definition Classes
    UniqueMessagePositionsReporter
    Note

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

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isReportedFeatureUseSite(featureTrait: Symbol): Boolean

    Definition Classes
    Reporter
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def printSummary(implicit ctx: Context): Unit

    Print the summary of warnings and errors

    Print the summary of warnings and errors

    Definition Classes
    Reporter
  27. def report(m: MessageContainer)(implicit ctx: Context): Unit

    Definition Classes
    Reporter
  28. def reportNewFeatureUseSite(featureTrait: Symbol): Unit

    Definition Classes
    Reporter
  29. def summary: String

    Summary of warnings and errors

    Summary of warnings and errors

    Definition Classes
    Reporter
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def truncationOK: Boolean

    Definition Classes
    Reporter
  33. val unreportedWarnings: HashMap[String, Int]

    Definition Classes
    Reporter
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. var warningCount: Int

    Definition Classes
    Reporter → ReporterResult
  38. def withIncompleteHandler[T](handler: ErrorHandler)(op: ⇒ T): T

    Definition Classes
    Reporter
  39. def withoutTruncating[T](body: ⇒ T): T

    Definition Classes
    Reporter

Inherited from Reporter

Inherited from ReporterResult

Inherited from AnyRef

Inherited from Any

Ungrouped