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 = (Diagnostic) ⇒ (Context) ⇒ Unit

Abstract Value Members

  1. abstract def doReport(d: Diagnostic)(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. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. var errorCount: Int

    Definition Classes
    Reporter → ReporterResult
  10. def errorsReported: Boolean

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

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flush()(implicit ctx: Context): Unit

    Issue all error messages in this reporter to next outer one, or make sure they are written.

  13. final def getClass(): Class[_]

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

    Definition Classes
    Reporter → ReporterResult
  15. def hasPending: Boolean

    Does this reporter contain not yet reported errors or warnings?

  16. def hasWarnings(): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def incomplete(d: Diagnostic)(implicit ctx: Context): Unit

  19. def isHidden(d: Diagnostic)(implicit ctx: Context): Boolean

    Should this diagnostic not be reported at all?

  20. final def isInstanceOf[T0]: Boolean

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

  22. final def ne(arg0: AnyRef): Boolean

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

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

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

    Print the summary of warnings and errors

  26. def report(d: Diagnostic)(implicit ctx: Context): Unit

  27. def reportNewFeatureUseSite(featureTrait: Symbol): Unit

  28. def summary: String

    Summary of warnings and errors

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def truncationOK: Boolean

  32. val unreportedWarnings: HashMap[String, Int]

  33. final def wait(): Unit

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

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

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

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

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

Inherited from ReporterResult

Inherited from AnyRef

Inherited from Any

Ungrouped