class ReplReporterImpl extends FilteringReporter with ReplReporter
- Alphabetic
- By Inheritance
- ReplReporterImpl
- ReplReporter
- ReplStrings
- FilteringReporter
- Reporter
- Reporter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ReplReporterImpl(settings: Settings)
- new ReplReporterImpl(settings: Settings, writer: PrintWriter)
- new ReplReporterImpl(config: ShellConfig, settings: Settings = new Settings, writer: PrintWriter = ReplReporterImpl.defaultOut)
Type Members
- final type Severity = reflect.internal.Reporter.Severity
- Definition Classes
- Reporter
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ERROR: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def INFO: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def WARNING: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancelled: Boolean
- Definition Classes
- Reporter
- def cancelled_=(b: Boolean): Unit
- Definition Classes
- Reporter
- def clabel(severity: Severity): String
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def color(c: String, s: String): String
- def colorOk: Boolean
- def comment(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- val config: ShellConfig
- 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
- ReplReporterImpl → ReplReporter
- def debug(msg: => String): Unit
- Definition Classes
- ReplReporter
- def displayPrompt(): Unit
- def doReport(pos: Position, msg: String, severity: Severity): Unit
- Definition Classes
- ReplReporterImpl → FilteringReporter
- final def echo(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- final def echo(msg: String): Unit
- Definition Classes
- Reporter
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def error(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def errorCount: Int
- Definition Classes
- Reporter
- def filter(pos: Position, msg: String, severity: Severity): Int
- Definition Classes
- FilteringReporter → Reporter
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finish(): Unit
- Definition Classes
- ReplReporterImpl → Reporter
- def flush(): Unit
- Definition Classes
- ReplReporterImpl → Reporter
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasErrors: Boolean
- Definition Classes
- Reporter → Reporter
- def hasWarnings: Boolean
- Definition Classes
- Reporter
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def increment(severity: Severity): Unit
- Definition Classes
- Reporter
- def indenting(n: Int)(body: => Unit): Unit
Change indentation due to prompt.
Change indentation due to prompt.
- Definition Classes
- ReplReporterImpl → ReplReporter
- def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
- Attributes
- protected
- Definition Classes
- FilteringReporter → Reporter
- Annotations
- @deprecatedOverriding()
- def isDebug: Boolean
- Definition Classes
- ReplReporterImpl → ReplReporter
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTrace: Boolean
- Definition Classes
- ReplReporterImpl → ReplReporter
- 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.
- 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
- ReplReporterImpl → ReplStrings
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val out: PrintWriter
- Definition Classes
- ReplReporterImpl → ReplReporter
- 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 (seewithoutUnwrapping
andunmangleInterpreterOutput
). To suppress all output, usesuppressOutput
- Definition Classes
- ReplReporterImpl → ReplReporter
- def printMessage(posIn: Position, msg0: String): Unit
- def printResult(result: Either[String, String]): Unit
Print result (Right --> success, Left --> error)
Print result (Right --> success, Left --> error)
- Definition Classes
- ReplReporterImpl → ReplReporter
- 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
- ReplReporterImpl → ReplReporter
- def rerunWithDetails(setting: Setting, name: String): String
- Definition Classes
- ReplReporterImpl → Reporter
- def reset(): Unit
- Definition Classes
- FilteringReporter → Reporter → Reporter
- val settings: Settings
- Definition Classes
- ReplReporterImpl → FilteringReporter
- def severityColor(severity: Severity): String
- 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
- ReplReporterImpl → ReplReporter
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- ReplReporterImpl → ReplReporter
- var totalSilence: Boolean
- def trace(msg: => String): Unit
- Definition Classes
- ReplReporter
- def truncate(str: String): String
- 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.
- 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
- ReplReporterImpl → ReplStrings
- def unmangleInterpreterOutput(str: String): String
- def unwrap(str: String): String
- 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.".
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def warningCount: Int
- Definition Classes
- Reporter
- def withoutPrintingResults[T](body: => T): T
Don't print result lines.
Don't print result lines.
- Definition Classes
- ReplReporterImpl → ReplReporter
- def withoutTruncating[T](body: => T): T
Suppress truncation during the executing of
body
.Suppress truncation during the executing of
body
.- Definition Classes
- ReplReporterImpl → ReplReporter
- 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
- ReplReporterImpl → ReplReporter
Deprecated Value Members
- 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
- 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.
The Scala compiler and reflection APIs.