trait CachedCompiler extends AnyRef
Define the interface of a cached Scala compiler that can be run.
This cached compiler hides the implementation of a compiler by just
defining two operations: #commandArguments(File[])
and
DependencyChanges, AnalysisCallback, Logger, Reporter, CompileProgress)
.
- Alphabetic
- By Inheritance
- CachedCompiler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
commandArguments(sources: Array[File]): Array[String]
* Return an array of arguments that represent a command-line like equivalent of a call to the Scala compiler, but without the command itself.
* Return an array of arguments that represent a command-line like equivalent of a call to the Scala compiler, but without the command itself.
- sources
The source files that the compiler must compile.
- returns
The array of arguments of the Scala compiler.
-
abstract
def
run(sources: Array[File], changes: DependencyChanges, callback: AnalysisCallback, logger: Logger, delegate: Reporter, progress: CompileProgress): Unit
Run the cached Scala compiler with inputs of incremental compilation.
Run the cached Scala compiler with inputs of incremental compilation.
- sources
The source files to be compiled.
- changes
The changes that have occurred since last compilation.
- callback
The callback injected by the incremental compiler.
- logger
The logger of the incremental compilation.
- delegate
The reporter that informs on the compiler's output.
- progress
The compiler progress associated with a Scala compiler.
- Annotations
- @Deprecated
- Deprecated
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()