class DisplayReporter extends reflect.internal.Reporter with PrintReporter
This class implements a Reporter that displays messages on a text console.
- Source
- DisplayReporter.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DisplayReporter
- PrintReporter
- Reporter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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 DisplayReporter toany2stringadd[DisplayReporter] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DisplayReporter, B)
- Implicit
- This member is added by an implicit conversion from DisplayReporter toArrowAssoc[DisplayReporter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- PrintReporter
- def count(severity: Severity): Int
- Definition Classes
- Reporter
- def display(pos: Position, msg: String, severity: Severity): Unit
Format a message and emit it.
Format a message and emit it.
- Definition Classes
- PrintReporter
- def displayPrompt(): Unit
- Definition Classes
- PrintReporter
- def echo(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def echo(msg: String): Unit
- Definition Classes
- Reporter
- val echoWriter: PrintWriter
- Definition Classes
- DisplayReporter → PrintReporter
- def ensuring(cond: (DisplayReporter) => Boolean, msg: => Any): DisplayReporter
- Implicit
- This member is added by an implicit conversion from DisplayReporter toEnsuring[DisplayReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DisplayReporter) => Boolean): DisplayReporter
- Implicit
- This member is added by an implicit conversion from DisplayReporter toEnsuring[DisplayReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DisplayReporter
- Implicit
- This member is added by an implicit conversion from DisplayReporter toEnsuring[DisplayReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DisplayReporter
- Implicit
- This member is added by an implicit conversion from DisplayReporter toEnsuring[DisplayReporter] 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
- def error(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def errorCount: Int
- Definition Classes
- Reporter
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finish(): Unit
- Definition Classes
- Reporter
- def flush(): Unit
- Definition Classes
- PrintReporter → Reporter
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DisplayReporter toStringFormat[DisplayReporter] 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
- def hasWarnings: Boolean
- Definition Classes
- Reporter
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
- Definition Classes
- DisplayReporter → Reporter
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 reader: BufferedReader
- Definition Classes
- DisplayReporter → PrintReporter
- def rerunWithDetails(setting: Setting, name: String): String
- Definition Classes
- Reporter
- def reset(): Unit
- Definition Classes
- Reporter
- def resetCount(severity: Severity): Unit
- Definition Classes
- Reporter
- val settings: Settings
- Definition Classes
- DisplayReporter → PrintReporter
- val shortname: Boolean
Whether a short file name should be displayed before errors
Whether a short file name should be displayed before errors
- Definition Classes
- PrintReporter
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- def warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def warningCount: Int
- Definition Classes
- Reporter
- val writer: PrintWriter
- Definition Classes
- DisplayReporter → PrintReporter
- object ERROR extends Severity
- Definition Classes
- Reporter
- object INFO extends Severity
- Definition Classes
- Reporter
- object WARNING extends Severity
- Definition Classes
- Reporter
Deprecated Value Members
- def →[B](y: B): (DisplayReporter, B)
- Implicit
- This member is added by an implicit conversion from DisplayReporter toArrowAssoc[DisplayReporter] 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.