trait ReplReporter extends FilteringReporter with ReplStrings

Source
Interface.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplReporter
  2. ReplStrings
  3. FilteringReporter
  4. Reporter
  5. Reporter
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final type Severity = reflect.internal.Reporter.Severity
    Definition Classes
    Reporter

Abstract Value Members

  1. abstract def currentRequest: ReplRequest

    Currently executing request (used to determine position of error in terms of user-submitted code)

    Currently executing request (used to determine position of error in terms of user-submitted code)

    TODO: should no longer be needed if we do wrapping after type checking

  2. abstract def currentRequest_=(req: ReplRequest): Unit

    Set currently executing request.

  3. abstract def doReport(pos: Position, msg: String, severity: Severity): Unit
    Definition Classes
    FilteringReporter
  4. abstract def indenting(n: Int)(body: => Unit): Unit

    Change indentation due to prompt.

  5. abstract def isDebug: Boolean
  6. abstract def isTrace: Boolean
  7. abstract def nameToCode(s: String): String

    Prepare a val/def name string for outputting in code.

    Prepare a val/def name string for outputting in code.

    Definition Classes
    ReplStrings
  8. abstract def out: PrintWriter
  9. abstract def printMessage(msg: String): Unit

    Print message (info/warning/error).

    Print message (info/warning/error). By default, messages beyond a certain length are truncated (see withoutTruncating), and internal repl wrapping is removed (see withoutUnwrapping and unmangleInterpreterOutput). To suppress all output, use suppressOutput

  10. abstract def printResult(result: Either[String, String]): Unit

    Print result (Right --> success, Left --> error)

  11. abstract def printResults: Boolean

    Whether we're printing results (should only be used from the shell).

  12. abstract def settings: Settings
    Definition Classes
    FilteringReporter
  13. abstract def suppressOutput[T](body: => T): T

    Don't print any errors/messages/echos during the execution of body.

  14. abstract def togglePrintResults(): Unit

    Toggle whether to print results (should only be used from the shell).

  15. abstract def typeToCode(s: String): String

    Prepare a val/def type string for outputting in code.

    Prepare a val/def type string for outputting in code.

    Definition Classes
    ReplStrings
  16. abstract def withoutPrintingResults[T](body: => T): T

    Don't print result lines.

  17. abstract def withoutTruncating[T](body: => T): T

    Suppress truncation during the executing of body.

  18. abstract def withoutUnwrapping(body: => Unit): Unit

    Do not remove interpreter wrappers ($iw etc) from all output during the execution of body.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ReplReporter toany2stringadd[ReplReporter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplReporter, B)
    Implicit
    This member is added by an implicit conversion from ReplReporter toArrowAssoc[ReplReporter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def ERROR: Severity
    Definition Classes
    Reporter
    Annotations
    @uncheckedStable()
  7. final def INFO: Severity
    Definition Classes
    Reporter
    Annotations
    @uncheckedStable()
  8. final def WARNING: Severity
    Definition Classes
    Reporter
    Annotations
    @uncheckedStable()
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def cancelled: Boolean
    Definition Classes
    Reporter
  11. def cancelled_=(b: Boolean): Unit
    Definition Classes
    Reporter
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def comment(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  14. def debug(msg: => String): Unit
  15. final def echo(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  16. final def echo(msg: String): Unit
    Definition Classes
    Reporter
  17. def ensuring(cond: (ReplReporter) => Boolean, msg: => Any): ReplReporter
    Implicit
    This member is added by an implicit conversion from ReplReporter toEnsuring[ReplReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (ReplReporter) => Boolean): ReplReporter
    Implicit
    This member is added by an implicit conversion from ReplReporter toEnsuring[ReplReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: => Any): ReplReporter
    Implicit
    This member is added by an implicit conversion from ReplReporter toEnsuring[ReplReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): ReplReporter
    Implicit
    This member is added by an implicit conversion from ReplReporter toEnsuring[ReplReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def error(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  24. def errorCount: Int
    Definition Classes
    Reporter
  25. def filter(pos: Position, msg: String, severity: Severity): Int
    Definition Classes
    FilteringReporter → Reporter
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def finish(): Unit
    Definition Classes
    Reporter
  28. def flush(): Unit
    Definition Classes
    Reporter
  29. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReplReporter toStringFormat[ReplReporter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hasErrors: Boolean
    Definition Classes
    Reporter → Reporter
  32. def hasWarnings: Boolean
    Definition Classes
    Reporter
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def increment(severity: Severity): Unit
    Definition Classes
    Reporter
  35. def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
    Attributes
    protected
    Definition Classes
    FilteringReporter → Reporter
    Annotations
    @deprecatedOverriding()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def rerunWithDetails(setting: Setting, name: String): String
    Definition Classes
    Reporter
  41. def reset(): Unit
    Definition Classes
    FilteringReporterReporter → Reporter
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def trace(msg: => String): Unit
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def warning(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  49. def warningCount: Int
    Definition Classes
    Reporter

Deprecated Value Members

  1. final def info(pos: Position, msg: String, force: Boolean): Unit
    Definition Classes
    Reporter
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use echo, as internal.Reporter does not support unforced info

  2. def [B](y: B): (ReplReporter, B)
    Implicit
    This member is added by an implicit conversion from ReplReporter toArrowAssoc[ReplReporter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from ReplStrings

Inherited from FilteringReporter

Inherited from Reporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromReplReporter to any2stringadd[ReplReporter]

Inherited by implicit conversion StringFormat fromReplReporter to StringFormat[ReplReporter]

Inherited by implicit conversion Ensuring fromReplReporter to Ensuring[ReplReporter]

Inherited by implicit conversion ArrowAssoc fromReplReporter to ArrowAssoc[ReplReporter]

Ungrouped