final class AnalyzingCompiler extends CachedCompilerProvider with ScalaCompiler

Implement a cached incremental ScalaCompiler that has been instrumented with the dependency analysis plugin to do incremental compilation.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnalyzingCompiler
  2. ScalaCompiler
  3. CachedCompilerProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnalyzingCompiler(scalaInstance: xsbti.compile.ScalaInstance, provider: CompilerBridgeProvider, classpathOptions: ClasspathOptions, onArgsHandler: (Seq[String]) ⇒ Unit, classLoaderCache: Option[ClassLoaderCache])

    scalaInstance

    The Scala instance to be used for the compiler.

    provider

    The manager and provider of cached compilers.

    classpathOptions

    The classpath options for the Scala compiler.

    onArgsHandler

    Handler that will handle arguments.

Abstract Value Members

  1. abstract def compile(sources: Array[File], changes: DependencyChanges, options: Array[String], output: xsbti.compile.Output, callback: xsbti.AnalysisCallback, reporter: Reporter, cache: GlobalsCache, log: Logger, progressOpt: Optional[CompileProgress]): Unit

    Recompile the subset of sources impacted by the changes defined in changes and collect the new APIs.

    Recompile the subset of sources impacted by the changes defined in changes and collect the new APIs.

    sources

    All the sources of the project.

    changes

    The changes that have been detected at the previous step.

    options

    The arguments to give to the Scala compiler. For more information, run scalac -help.

    output

    The location where generated class files should be put.

    callback

    The callback to which the extracted information should be reported.

    reporter

    The reporter to which errors and warnings should be reported during compilation.

    cache

    The cache from where we retrieve the compiler to use.

    log

    The logger in which the Scala compiler will log info.

    progressOpt

    The progress interface in which the Scala compiler will report on the file being compiled.

    Definition Classes
    ScalaCompiler
  2. abstract def compile(sources: Array[File], changes: DependencyChanges, callback: xsbti.AnalysisCallback, log: Logger, reporter: Reporter, progress: CompileProgress, compiler: CachedCompiler): Unit

    Recompile the subset of sources impacted by the changes defined in changes and collect the new APIs.

    Recompile the subset of sources impacted by the changes defined in changes and collect the new APIs.

    sources

    All the sources of the project.

    changes

    The changes that have been detected at the previous step.

    callback

    The callback to which the extracted information should be reported.

    log

    The logger in which the Scala compiler will log info.

    reporter

    The reporter to which errors and warnings should be reported during compilation.

    progress

    Where to report the file being currently compiled.

    compiler

    The actual compiler that will perform the compilation step.

    Definition Classes
    ScalaCompiler

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(sources: Array[File], changes: DependencyChanges, classpath: Array[File], singleOutput: File, options: Array[String], callback: AnalysisCallback, maximumErrors: Int, cache: GlobalsCache, log: ManagedLogger): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val classLoaderCache: Option[ClassLoaderCache]
  7. val classpathOptions: ClasspathOptions
    Definition Classes
    AnalyzingCompilerScalaCompiler
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def compile(sources: Array[File], changes: DependencyChanges, callback: AnalysisCallback, log: Logger, reporter: Reporter, progress: CompileProgress, compiler: CachedCompiler): Unit
  10. def compile(sources: Array[File], changes: DependencyChanges, options: Array[String], output: xsbti.compile.Output, callback: AnalysisCallback, reporter: Reporter, cache: GlobalsCache, log: Logger, progressOpt: Optional[CompileProgress]): Unit
  11. def console(classpath: Seq[File], options: Seq[String], initialCommands: String, cleanupCommands: String, log: Logger)(loader: Option[ClassLoader] = None, bindings: Seq[(String, Any)] = Nil): Unit
  12. def consoleCommandArguments(classpath: Seq[File], options: Seq[String], log: Logger): Seq[String]
  13. def createDualLoader(scalaLoader: ClassLoader, sbtLoader: ClassLoader): ClassLoader
    Attributes
    protected
  14. def doc(sources: Seq[File], classpath: Seq[File], outputDirectory: File, options: Seq[String], log: Logger, reporter: Reporter): Unit
  15. def doc(sources: Seq[File], classpath: Seq[File], outputDirectory: File, options: Seq[String], maximumErrors: Int, log: ManagedLogger): Unit
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def force(log: Logger): Unit
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def newCachedCompiler(arguments: Seq[String], output: xsbti.compile.Output, log: Logger, reporter: Reporter): CachedCompiler
  25. def newCachedCompiler(arguments: Array[String], output: xsbti.compile.Output, log: Logger, reporter: Reporter): CachedCompiler

    Return a new cached compiler from the usual compiler input.

    Return a new cached compiler from the usual compiler input.

    Definition Classes
    AnalyzingCompilerCachedCompilerProvider
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def onArgs(f: (Seq[String]) ⇒ Unit): AnalyzingCompiler
  29. val provider: CompilerBridgeProvider
  30. val scalaInstance: xsbti.compile.ScalaInstance
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnalyzingCompiler → AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  36. def withClassLoaderCache(classLoaderCache: ClassLoaderCache): AnalyzingCompiler

Inherited from ScalaCompiler

Inherited from CachedCompilerProvider

Inherited from AnyRef

Inherited from Any

Ungrouped