trait PrintReporter extends reflect.internal.Reporter
Facility for outputting messages, with optional user intervention.
- Source
- PrintReporter.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PrintReporter
- Reporter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
type
Severity = reflect.internal.Reporter.Severity
- Definition Classes
- Reporter
Abstract Value Members
Concrete 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 PrintReporter to any2stringadd[PrintReporter] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (PrintReporter, B)
- Implicit
- This member is added by an implicit conversion from PrintReporter to ArrowAssoc[PrintReporter] 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
clabel(severity: Severity): String
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def close(): Unit
-
def
display(pos: Position, msg: String, severity: Severity): Unit
Format a message and emit it.
Format a message and emit it.
- Attributes
- protected
- def displayPrompt(): Unit
-
final
def
echo(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
-
final
def
echo(msg: String): Unit
- Definition Classes
- Reporter
-
def
ensuring(cond: (PrintReporter) ⇒ Boolean, msg: ⇒ Any): PrintReporter
- Implicit
- This member is added by an implicit conversion from PrintReporter to Ensuring[PrintReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (PrintReporter) ⇒ Boolean): PrintReporter
- Implicit
- This member is added by an implicit conversion from PrintReporter to Ensuring[PrintReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): PrintReporter
- Implicit
- This member is added by an implicit conversion from PrintReporter to Ensuring[PrintReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): PrintReporter
- Implicit
- This member is added by an implicit conversion from PrintReporter to Ensuring[PrintReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- Reporter
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
finish(): Unit
- Definition Classes
- Reporter
-
def
flush(): Unit
- Definition Classes
- PrintReporter → Reporter
-
final
def
getClass(): Class[_]
- 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
increment(severity: Severity): Unit
- Definition Classes
- 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()
-
def
printMessage(msg: String): Unit
Prints the warning or error message.
Prints the warning or error message.
- Attributes
- protected
-
def
rerunWithDetails(setting: Setting, name: String): String
- Definition Classes
- Reporter
-
def
reset(): Unit
- Definition Classes
- Reporter
-
val
shortname: Boolean
Whether a short file name should be displayed before errors
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
-
def
warningCount: Int
- Definition Classes
- Reporter
-
def
→[B](y: B): (PrintReporter, B)
- Implicit
- This member is added by an implicit conversion from PrintReporter to ArrowAssoc[PrintReporter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from PrintReporter to StringFormat[PrintReporter] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.