aboutsummaryrefslogtreecommitdiff
path: root/interfaces/src/dotty/tools/dotc/interfaces/SimpleReporter.java
blob: f4c80c0cf9969a2a2a7d5c0822c82a5e01d4c64e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.
   *  @param diag the diagnostic message to report
   */
  void report(Diagnostic diag);
}