Scala Compiler2.12.21 < 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 ast
  Definition Classes
    nsc
-  package backend
  Definition Classes
    nsc
-  package classpath
  Definition Classes
    nsc
-  package doc
  Definition Classes
    nsc
-  package interactive
  Definition Classes
    nsc
-  package interpreter

  The main REPL related classes and values are as follows.

  The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

  History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

  ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

  Definition Classes
    nsc
-  package io
  Definition Classes
    nsc
-  package javac
  Definition Classes
    nsc
-  package plugins
  Definition Classes
    nsc
-  package profile
  Definition Classes
    nsc
-  package reporters
  Definition Classes
    nsc
- ConsoleReporter
- FilteringReporter
- ForwardingReporter
- MakeFilteringForwardingReporter
- NoReporter
- PrintReporter
- Reporter
- StoreReporter
-  package settings
  Definition Classes
    nsc
-  package symtab
  Definition Classes
    nsc
-  package transform
  Definition Classes
    nsc
-  package typechecker
  Definition Classes
    nsc
-  package util
  Definition Classes
    nsc

p

scala.tools.nsc

# reporters 

#### package reporters

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  class ConsoleReporter extends FilteringReporter with PrintReporter

   This class implements a Reporter that displays messages on a text console.

2.  abstract class FilteringReporter extends Reporter

   The reporter used in a Global instance.

   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)
3.  class ForwardingReporter extends FilteringReporter

   A FilteringReporter that delegates to another FilteringReporter.

   A FilteringReporter that delegates to another FilteringReporter. This class can be used to customize error reporting.

       val myReporter = new ForwardingReporter(global.reporter) {
         override def doReport(pos: Position, msg: String, severity: Severity): Unit = { ... }
       }
       global.reporter = myReporter

4.  class MakeFilteringForwardingReporter extends FilteringReporter

   Used in `Global.reporter_=`.

   Used in `Global.reporter_=`. sbt assigns a plain `Reporter`, which is then adapted to respect maxerrs and do position filtering.

5.  class NoReporter extends FilteringReporter

   A reporter that ignores reports.

6.  trait PrintReporter extends reflect.internal.Reporter

   Facility for outputting messages, with optional user intervention.

7.  abstract class Reporter extends reflect.internal.Reporter

   This class exists for sbt compatibility.

   This class exists for sbt compatibility. Global.reporter holds a FilteringReporter. The only Reporter that is *not* a FilteringReporter is the one created by sbt. The Global.reporter_= setter wraps that in a delegating MakeFilteringForwardingReporter.

8.  class StoreReporter extends FilteringReporter

   This class implements a Reporter that stores its reports in the set `infos`.

### Value Members

1.  object Reporter
2.  object StoreReporter

### Ungrouped