c

bloop.reporter

Reporter

abstract class Reporter extends xsbti.Reporter with ConfigurableReporter

A flexible reporter whose configuration is provided by a ReporterConfig. This configuration indicated whether to use colors, how to format messages, etc.

A reporter has internal state and must be instantiated per compilation.

Linear Supertypes
ConfigurableReporter, xsbti.Reporter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reporter
  2. ConfigurableReporter
  3. Reporter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Reporter(logger: Logger, cwd: AbsolutePath, sourcePositionMapper: (Position) ⇒ Position, config: ReporterConfig, _problems: Buffer[Problem] = mutable.ArrayBuffer.empty)

    logger

    The logger that will receive the output of the reporter.

    cwd

    The current working directory of the user who started compilation.

    sourcePositionMapper

    A function that transforms positions.

    config

    The configuration for this reporter.

Abstract Value Members

  1. abstract def logFull(problem: Problem): Unit
    Attributes
    protected
  2. abstract def printSummary(): Unit
    Definition Classes
    Reporter
  3. abstract def reportEndCompilation(previousAnalysis: Option[CompileAnalysis], analysis: Option[CompileAnalysis], code: StatusCode): Unit

    A function called at the very end of compilation, before returning from Zinc to bloop.

    A function called at the very end of compilation, before returning from Zinc to bloop.

    This method **is** called if the compilation is a no-op.

    previousAnalysis

    An instance of a previous compiler analysis, if any.

    analysis

    An instance of a new compiler analysis, if no error happened.

    code

    The status code for a given compilation.

  4. abstract def reportEndIncrementalCycle(durationMs: Long): Unit

    A function called after every incremental cycle, even if any compilation errors happen.

    A function called after every incremental cycle, even if any compilation errors happen.

    This method is not called if the compilation is a no-op (e.g. same analysis as before).

  5. abstract def reportStartCompilation(previousProblems: List[xsbti.Problem]): Unit

    A function called *always* at the very beginning of compilation.

  6. abstract def reportStartIncrementalCycle(sources: Seq[File], outputDirs: Seq[File]): Unit

    A function called before every incremental cycle with the compilation inputs.

    A function called before every incremental cycle with the compilation inputs.

    This method is not called if the compilation is a no-op (e.g. same analysis as before).

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. val _problems: Buffer[Problem]
  5. def allProblems: Seq[Problem]

    All the Problems seen by this reporter.

    All the Problems seen by this reporter.

    Definition Classes
    ReporterConfigurableReporter
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def comment(pos: Position, msg: String): Unit
    Definition Classes
    Reporter → Reporter
  9. val config: ReporterConfig

    The configuration for this reporter.

    The configuration for this reporter.

    Definition Classes
    ReporterConfigurableReporter
  10. val cwd: AbsolutePath

    The current working directory of the user who started compilation.

    The current working directory of the user who started compilation.

    Definition Classes
    ReporterConfigurableReporter
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hasErrors(): Boolean

    true if this reporter has received errors, false otherwise.

    true if this reporter has received errors, false otherwise.

    Definition Classes
    ReporterConfigurableReporter → Reporter
  16. def hasWarnings(): Boolean

    true if this reporter has received warnings, false otherwise.

    true if this reporter has received warnings, false otherwise.

    Definition Classes
    ReporterConfigurableReporter → Reporter
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def log(prob: xsbti.Problem): Unit
    Definition Classes
    Reporter → Reporter
  20. val logger: Logger

    Where to log the message

    Where to log the message

    Definition Classes
    ReporterConfigurableReporter
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def problems(): Array[xsbti.Problem]
    Definition Classes
    Reporter → Reporter
  25. def reset(): Unit
    Definition Classes
    Reporter → Reporter
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ConfigurableReporter

Inherited from xsbti.Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped