scala.tools.nsc.reporters

ConsoleReporter

class ConsoleReporter extends AbstractReporter

This class implements a Reporter that displays messages on a text console.

Source
ConsoleReporter.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ConsoleReporter
  2. AbstractReporter
  3. Reporter
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsoleReporter(settings: Settings)

  2. new ConsoleReporter(settings: Settings, reader: BufferedReader, writer: PrintWriter)

Type Members

  1. class Severity extends Value

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. val ERROR: Severity

    Definition Classes
    Reporter
  7. final val ERROR_LIMIT: Int(100)

    maximal number of error messages to be printed

  8. val INFO: Severity

    Definition Classes
    Reporter
  9. val WARNING: Severity

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

    Definition Classes
    Any
  11. var cancelled: Boolean

    Definition Classes
    Reporter
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def comment(pos: Position, msg: String): Unit

    Definition Classes
    Reporter
  14. def display(pos: Position, msg: String, severity: Severity): Unit

    Definition Classes
    ConsoleReporterAbstractReporter
  15. def displayPrompt(): Unit

    Definition Classes
    ConsoleReporterAbstractReporter
  16. def echo(pos: Position, msg: String): Unit

    Definition Classes
    Reporter
  17. def echo(msg: String): Unit

    For sending a message which should not be labeled as a warning/error, but also shouldn't require -verbose to be visible.

    For sending a message which should not be labeled as a warning/error, but also shouldn't require -verbose to be visible.

    Definition Classes
    Reporter
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def error(pos: Position, msg: String): Unit

    Definition Classes
    Reporter
  21. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def flush(): Unit

    Definition Classes
    ConsoleReporterReporter
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hasErrors: Boolean

    Definition Classes
    Reporter
  25. def hasWarnings: Boolean

    Definition Classes
    Reporter
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def incompleteHandled: Boolean

    Definition Classes
    Reporter
  28. def incompleteInputError(pos: Position, msg: String): Unit

    Definition Classes
    Reporter
  29. def info(pos: Position, msg: String, force: Boolean): Unit

    Informational messages, suppressed unless -verbose or force=true.

    Informational messages, suppressed unless -verbose or force=true.

    Definition Classes
    Reporter
  30. def info0(pos: Position, msg: String, _severity: Severity, force: Boolean): Unit

    Attributes
    protected
    Definition Classes
    AbstractReporterReporter
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def print(pos: Position, msg: String, severity: Severity): Unit

  36. def printColumnMarker(pos: Position): Unit

    Prints the column marker of the given position.

    Prints the column marker of the given position.

    pos

    ...

  37. def printMessage(posIn: Position, msg: String): Unit

    Prints the message with the given position indication.

  38. def printMessage(msg: String): Unit

    Prints the message.

  39. def printSourceLine(pos: Position): Unit

    pos

    ...

  40. def printSummary(): Unit

    Prints the number of errors and warnings if their are non-zero.

  41. def reset(): Unit

    Definition Classes
    AbstractReporterReporter
  42. val settings: Settings

    Definition Classes
    ConsoleReporterAbstractReporter
  43. object severity extends Enumeration

  44. var shortname: Boolean

    Whether a short file name should be displayed before errors

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

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def truncationOK: Boolean

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  51. def warning(pos: Position, msg: String): Unit

    Warnings and errors.

    Warnings and errors.

    Definition Classes
    Reporter
  52. def withIncompleteHandler[T](handler: (Position, String) ⇒ Unit)(thunk: ⇒ T): T

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

    Definition Classes
    Reporter

Deprecated Value Members

  1. def countAsString(n: Int): String

    Definition Classes
    Reporter
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Moved to scala.tools.util.StringOps

  2. def countElementsAsString(n: Int, elements: String): String

    Definition Classes
    Reporter
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Moved to scala.tools.util.StringOps

Inherited from AbstractReporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any