Scala Compiler2.13.9 < 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
- ConsoleReporter
- FilteringReporter
- ForwardingReporter
- MakeFilteringForwardingReporter
- NoReporter
- PrintReporter
- Reporter
- StoreReporter

c

scala.tools.nsc.reporters

# FilteringReporter

###

#### abstract class FilteringReporter extends Reporter

The reporter used in a Global instance.

It filters messages based on

- settings.nowarn
- settings.maxerrs / settings.maxwarns
- positions (only one error at a position, no duplicate messages on a position)

Source
  Reporter.scala

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

1. Alphabetic
2. By Inheritance

Inherited

1. FilteringReporter
2. Reporter
3. Reporter
4. AnyRef
5. 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 FilteringReporter()

### Type Members

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

### Abstract Value Members

1.  abstract def doReport(pos: Position, msg: String, severity: Severity): Unit
2.  abstract def settings: Settings

### 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 FilteringReporter toany2stringadd[FilteringReporter] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (FilteringReporter, B)
   Implicit
     This member is added by an implicit conversion from FilteringReporter toArrowAssoc[FilteringReporter] 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 clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.CloneNotSupportedException]) @native()
13.  def comment(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
14.  final def echo(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
15.  final def echo(msg: String): Unit
    Definition Classes
      Reporter
16.  def ensuring(cond: (FilteringReporter) => Boolean, msg: => Any): FilteringReporter
    Implicit
      This member is added by an implicit conversion from FilteringReporter toEnsuring[FilteringReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: (FilteringReporter) => Boolean): FilteringReporter
    Implicit
      This member is added by an implicit conversion from FilteringReporter toEnsuring[FilteringReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  def ensuring(cond: Boolean, msg: => Any): FilteringReporter
    Implicit
      This member is added by an implicit conversion from FilteringReporter toEnsuring[FilteringReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
19.  def ensuring(cond: Boolean): FilteringReporter
    Implicit
      This member is added by an implicit conversion from FilteringReporter toEnsuring[FilteringReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
20.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
21.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
22.  final def error(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
23.  def errorCount: Int
    Definition Classes
      Reporter
24.  def filter(pos: Position, msg: String, severity: Severity): Int
    Definition Classes
      FilteringReporter → Reporter
25.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
26.  def finish(): Unit
    Definition Classes
      Reporter
27.  def flush(): Unit
    Definition Classes
      Reporter
28.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
29.  def hasErrors: Boolean
    Definition Classes
      Reporter → Reporter
30.  def hasWarnings: Boolean
    Definition Classes
      Reporter
31.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
32.  def increment(severity: Severity): Unit
    Definition Classes
      Reporter
33.  def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
    Attributes
      protected
    Definition Classes
      FilteringReporter → Reporter
    Annotations
      @deprecatedOverriding()
34.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
35.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
36.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
37.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
38.  def rerunWithDetails(setting: Setting, name: String): String
    Definition Classes
      Reporter
39.  def reset(): Unit
    Definition Classes
      FilteringReporter → Reporter → Reporter
40.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
41.  def toString(): String
    Definition Classes
      AnyRef → Any
42.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
43.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
44.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()
45.  final def warning(pos: Position, msg: String): Unit
    Definition Classes
      Reporter
46.  def warningCount: Int
    Definition Classes
      Reporter

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from FilteringReporter toStringFormat[FilteringReporter] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  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

3.  def →[B](y: B): (FilteringReporter, B)
   Implicit
     This member is added by an implicit conversion from FilteringReporter toArrowAssoc[FilteringReporter] 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 Reporter

### Inherited from reflect.internal.Reporter

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromFilteringReporter to any2stringadd[FilteringReporter]

### Inherited by implicit conversion StringFormat fromFilteringReporter to StringFormat[FilteringReporter]

### Inherited by implicit conversion Ensuring fromFilteringReporter to Ensuring[FilteringReporter]

### Inherited by implicit conversion ArrowAssoc fromFilteringReporter to ArrowAssoc[FilteringReporter]

### Ungrouped