aboutsummaryrefslogtreecommitdiff
path: root/interfaces/src/main/java/dotty/tools/dotc/interfaces/SimpleReporter.java
blob: e52537096bd92cf373d25c9351e862215fe3543b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package dotty.tools.dotc.interfaces;

/** Report errors, warnings and info messages during the compilation process
 *
 *  You should implement this interface if you want to handle the diagnostics
 *  returned by the compiler yourself.
 *
 *  @see the method `process` of `dotty.tools.dotc.Driver` for more information.
 */
public interface SimpleReporter {
  /** Report a diagnostic. */
  void report(Diagnostic diag);
}