Scala Compiler2.12.4 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package reporters
  Definition Classes
    nsc
- AbstractReporter
- ConsoleReporter
- NoReporter
- Reporter
- StoreReporter

c

scala.tools.nsc.reporters

# Reporter 

###

#### abstract class Reporter extends reflect.internal.Reporter

Report information, warnings and errors.

This describes the internal interface for issuing information, warnings and errors. The only abstract method in this class must be info0.

TODO: Move external clients (sbt/ide/partest) to reflect.internal.Reporter, and remove this class.

Source
  Reporter.scala

Linear Supertypes
reflect.internal.Reporter, AnyRef, Any
Known Subclasses
ScalaDocReporter, InteractiveReporter, ReplReporter, AbstractReporter, ConsoleReporter, NoReporter, StoreReporter, ContextReporter
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Reporter
2. Reporter
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Reporter()

### Type Members

1.  class Severity extends AnyRef

### Abstract Value Members

1.  abstract def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
   Attributes
     protected
   Definition Classes
     Reporter

### 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 Reporter to any2stringadd[Reporter] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (Reporter, B)
   Implicit
     This member is added by an implicit conversion from Reporter to ArrowAssoc[Reporter] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  lazy val ERROR: Severity
   Definition Classes
     Reporter → Reporter
7.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
8.  var cancelled: Boolean
9.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
10.  def comment(pos: Position, msg: String): Unit
11.  def count(severity: Severity): Int
    Definition Classes
      Reporter → Reporter
12.  def echo(msg: String): Unit

    For sending a message which should not be labelled as a warning/error, but also shouldn't require -verbose to be visible.

13.  def echo(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
14.  def ensuring(cond: (Reporter) ⇒ Boolean, msg: ⇒ Any): Reporter
    Implicit
      This member is added by an implicit conversion from Reporter to Ensuring[Reporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: (Reporter) ⇒ Boolean): Reporter
    Implicit
      This member is added by an implicit conversion from Reporter to Ensuring[Reporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean, msg: ⇒ Any): Reporter
    Implicit
      This member is added by an implicit conversion from Reporter to Ensuring[Reporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean): Reporter
    Implicit
      This member is added by an implicit conversion from Reporter to Ensuring[Reporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
20.  def error(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
21.  def errorCount: Int
    Definition Classes
      Reporter
22.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
23.  def finish(): Unit
    Definition Classes
      Reporter
24.  def flush(): Unit
    Definition Classes
      Reporter
25.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from Reporter to StringFormat[Reporter] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
26.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
27.  def hasErrors: Boolean
    Definition Classes
      Reporter → Reporter
28.  def hasWarnings: Boolean
    Definition Classes
      Reporter
29.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
30.  final def info(pos: Position, msg: String, force: Boolean): Unit

    Informational messages.

    Informational messages. If `!force`, they may be suppressed.

31.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
32.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
33.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
34.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
35.  def rerunWithDetails(setting: Setting, name: String): String
    Definition Classes
      Reporter
36.  def reset(): Unit
    Definition Classes
      Reporter → Reporter
37.  def resetCount(severity: Severity): Unit
    Definition Classes
      Reporter → Reporter
38.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
39.  def toString(): String
    Definition Classes
      AnyRef → Any
40.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
41.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
42.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
43.  def warning(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
44.  def warningCount: Int
    Definition Classes
      Reporter
45.  def →[B](y: B): (Reporter, B)
    Implicit
      This member is added by an implicit conversion from Reporter to ArrowAssoc[Reporter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc
46.  object INFO extends Severity
    Definition Classes
      Reporter → Reporter
47.  object WARNING extends Severity
    Definition Classes
      Reporter → Reporter

### Inherited from reflect.internal.Reporter

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from Reporter to any2stringadd[Reporter]

### Inherited by implicit conversion StringFormat from Reporter to StringFormat[Reporter]

### Inherited by implicit conversion Ensuring from Reporter to Ensuring[Reporter]

### Inherited by implicit conversion ArrowAssoc from Reporter to ArrowAssoc[Reporter]

### Ungrouped