dotty.tools.dotc.interfaces.SimpleReporter Maven / Gradle / Ivy
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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy