aboutsummaryrefslogblamecommitdiff
path: root/interfaces/src/main/java/dotty/tools/dotc/interfaces/SimpleReporter.java
blob: 872448583e5b72ad22121530f6429079bcaa5424 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                             
                                                                               




                                 
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);
}