
dotty.tools.xsbt.CompilerBridge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-sbt-bridge Show documentation
Show all versions of scala3-sbt-bridge Show documentation
sbt compiler bridge for Dotty
/*
* Zinc - The incremental compiler for Scala.
* Copyright Lightbend, Inc. and Mark Harrah
*/
package dotty.tools.xsbt;
import xsbti.AnalysisCallback;
import xsbti.Logger;
import xsbti.Reporter;
import xsbti.VirtualFile;
import xsbti.compile.CompileProgress;
import xsbti.compile.CompilerInterface2;
import xsbti.compile.DependencyChanges;
import xsbti.compile.Output;
public final class CompilerBridge implements CompilerInterface2 {
@Override
public void run(VirtualFile[] sources, DependencyChanges changes, String[] options, Output output,
AnalysisCallback callback, Reporter delegate, CompileProgress progress, Logger log) {
CompilerBridgeDriver driver = new CompilerBridgeDriver(options, output);
driver.run(sources, callback, log, delegate, progress);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy