dotty.tools.dotc.reporting

Reporter

Related Docs: object Reporter | package reporting

abstract class Reporter extends ReporterResult

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

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

Instance Constructors

  1. new Reporter()

Type Members

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

Abstract Value Members

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

    Report a diagnostic

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]

  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
  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?

  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.

  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?

  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

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

    Should this diagnostic not be reported at all?

  21. final def isInstanceOf[T0]: Boolean

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

  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

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

  28. def reportNewFeatureUseSite(featureTrait: Symbol): Unit

  29. def summary: String

    Summary of warnings and errors

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def truncationOK: Boolean

  33. val unreportedWarnings: HashMap[String, Int]

  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

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

Inherited from ReporterResult

Inherited from AnyRef

Inherited from Any

Ungrouped