Class CompilerBridgeDriver

java.lang.Object
dotty.tools.dotc.Driver
dotty.tools.xsbt.CompilerBridgeDriver

public class CompilerBridgeDriver extends dotty.tools.dotc.Driver
  • Constructor Summary

    Constructors
    Constructor
    Description
    CompilerBridgeDriver(String[] scalacOptions, xsbti.compile.Output output)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(xsbti.VirtualFile[] sources, xsbti.AnalysisCallback callback, xsbti.Logger log, xsbti.Reporter delegate, xsbti.compile.CompileProgress progress)
     
    boolean
    `sourcesRequired` is set to false because the context is set up with no sources The sources are passed programmatically to the compiler in the form of AbstractFiles

    Methods inherited from class dotty.tools.dotc.Driver

    command, doCompile, emptyReporter, finish, fromTastySetup, initCtx, main, newCompiler, process, process, process, process, process$default$2, process$default$3, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompilerBridgeDriver

      public CompilerBridgeDriver(String[] scalacOptions, xsbti.compile.Output output)
  • Method Details

    • sourcesRequired

      public boolean sourcesRequired()
      `sourcesRequired` is set to false because the context is set up with no sources The sources are passed programmatically to the compiler in the form of AbstractFiles
      Overrides:
      sourcesRequired in class dotty.tools.dotc.Driver
    • run

      public void run(xsbti.VirtualFile[] sources, xsbti.AnalysisCallback callback, xsbti.Logger log, xsbti.Reporter delegate, xsbti.compile.CompileProgress progress)