Packages

class ReplReporterImpl extends FilteringReporter with ReplReporter

Source
Reporter.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplReporterImpl
  2. ReplReporter
  3. ReplStrings
  4. FilteringReporter
  5. Reporter
  6. Reporter
  7. AnyRef
  8. 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

Instance Constructors

  1. new ReplReporterImpl(settings: Settings)
  2. new ReplReporterImpl(settings: Settings, writer: PrintWriter)
  3. new ReplReporterImpl(config: ShellConfig, settings: Settings = new Settings, writer: PrintWriter = ReplReporterImpl.defaultOut)

Type Members

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

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 ReplReporterImpl toany2stringadd[ReplReporterImpl] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplReporterImpl, B)
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toArrowAssoc[ReplReporterImpl] 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 clabel(severity: Severity): String
    Attributes
    protected
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def color(c: String, s: String): String
  15. def colorOk: Boolean
  16. def comment(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  17. val config: ShellConfig
  18. var 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

    Definition Classes
    ReplReporterImplReplReporter
  19. def debug(msg: => String): Unit
    Definition Classes
    ReplReporter
  20. def displayPrompt(): Unit
  21. def doReport(pos: Position, msg: String, severity: Severity): Unit
    Definition Classes
    ReplReporterImplFilteringReporter
  22. final def echo(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  23. final def echo(msg: String): Unit
    Definition Classes
    Reporter
  24. def ensuring(cond: (ReplReporterImpl) => Boolean, msg: => Any): ReplReporterImpl
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toEnsuring[ReplReporterImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: (ReplReporterImpl) => Boolean): ReplReporterImpl
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toEnsuring[ReplReporterImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean, msg: => Any): ReplReporterImpl
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toEnsuring[ReplReporterImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean): ReplReporterImpl
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toEnsuring[ReplReporterImpl] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. final def error(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  31. def errorCount: Int
    Definition Classes
    Reporter
  32. def filter(pos: Position, msg: String, severity: Severity): Int
    Definition Classes
    FilteringReporter → Reporter
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  34. def finish(): Unit
    Definition Classes
    ReplReporterImpl → Reporter
  35. def flush(): Unit
    Definition Classes
    ReplReporterImpl → Reporter
  36. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toStringFormat[ReplReporterImpl] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  37. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def hasErrors: Boolean
    Definition Classes
    Reporter → Reporter
  39. def hasWarnings: Boolean
    Definition Classes
    Reporter
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def increment(severity: Severity): Unit
    Definition Classes
    Reporter
  42. def indenting(n: Int)(body: => Unit): Unit

    Change indentation due to prompt.

    Change indentation due to prompt.

    Definition Classes
    ReplReporterImplReplReporter
  43. def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
    Attributes
    protected
    Definition Classes
    FilteringReporter → Reporter
    Annotations
    @deprecatedOverriding()
  44. def isDebug: Boolean
    Definition Classes
    ReplReporterImplReplReporter
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def isTrace: Boolean
    Definition Classes
    ReplReporterImplReplReporter
  47. var maxPrintString: Int

    The maximum length of toString to use when printing the result of an evaluation.

    The maximum length of toString to use when printing the result of an evaluation. 0 means no maximum. If a printout requires more than this number of characters, then the printout is truncated.

  48. 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
    ReplReporterImplReplStrings
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. val out: PrintWriter
    Definition Classes
    ReplReporterImplReplReporter
  53. 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

    Definition Classes
    ReplReporterImplReplReporter
  54. def printMessage(posIn: Position, msg0: String): Unit
  55. def printResult(result: Either[String, String]): Unit

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

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

    Definition Classes
    ReplReporterImplReplReporter
  56. var printResults: Boolean

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

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

    Definition Classes
    ReplReporterImplReplReporter
  57. def rerunWithDetails(setting: Setting, name: String): String
    Definition Classes
    ReplReporterImpl → Reporter
  58. def reset(): Unit
    Definition Classes
    FilteringReporterReporter → Reporter
  59. val settings: Settings
    Definition Classes
    ReplReporterImplFilteringReporter
  60. def severityColor(severity: Severity): String
  61. def suppressOutput[T](operation: => T): T

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

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

    Definition Classes
    ReplReporterImplReplReporter
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. def togglePrintResults(): Unit

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

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

    Definition Classes
    ReplReporterImplReplReporter
  65. var totalSilence: Boolean
  66. def trace(msg: => String): Unit
    Definition Classes
    ReplReporter
  67. def truncate(str: String): String
  68. var truncationOK: Boolean

    Whether very long lines can be truncated.

    Whether very long lines can be truncated. This exists so important debugging information (like printing the classpath) is not rendered invisible due to the max message length.

  69. 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
    ReplReporterImplReplStrings
  70. def unmangleInterpreterOutput(str: String): String
  71. def unwrap(str: String): String
  72. var unwrapStrings: Boolean

    String unwrapping can be disabled if it is causing issues.

    String unwrapping can be disabled if it is causing issues. Setting this to false means you will see Strings like "$iw.$iw.".

  73. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  74. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  75. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  76. final def warning(pos: Position, msg: String): Unit
    Definition Classes
    Reporter
  77. def warningCount: Int
    Definition Classes
    Reporter
  78. def withoutPrintingResults[T](body: => T): T

    Don't print result lines.

    Don't print result lines.

    Definition Classes
    ReplReporterImplReplReporter
  79. def withoutTruncating[T](body: => T): T

    Suppress truncation during the executing of body.

    Suppress truncation during the executing of body.

    Definition Classes
    ReplReporterImplReplReporter
  80. def withoutUnwrapping(op: => Unit): Unit

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

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

    Definition Classes
    ReplReporterImplReplReporter

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): (ReplReporterImpl, B)
    Implicit
    This member is added by an implicit conversion from ReplReporterImpl toArrowAssoc[ReplReporterImpl] 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 ReplReporter

Inherited from ReplStrings

Inherited from FilteringReporter

Inherited from Reporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromReplReporterImpl to any2stringadd[ReplReporterImpl]

Inherited by implicit conversion StringFormat fromReplReporterImpl to StringFormat[ReplReporterImpl]

Inherited by implicit conversion Ensuring fromReplReporterImpl to Ensuring[ReplReporterImpl]

Inherited by implicit conversion ArrowAssoc fromReplReporterImpl to ArrowAssoc[ReplReporterImpl]

Ungrouped