final class CompilerCache extends GlobalsCache
Manage a number of maxInstance
of cached Scala compilers.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CompilerCache
- GlobalsCache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
CompilerCache(maxInstances: Int)
- maxInstances
The maximum number to be cached.
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
-
def
apply(args: Array[String], output: xsbti.compile.Output, forceNew: Boolean, c: CachedCompilerProvider, log: Logger, reporter: Reporter): CachedCompiler
Retrieve a
CachedCompiler
.Retrieve a
CachedCompiler
.- args
The arguments being passed on to the compiler.
- output
The output instance where the compiler stored class files.
- forceNew
Mark whether the previous cached compiler should be thrown away and a new one should be returned.
- reporter
The reporter used to report warnings and errors.
- returns
An instance of the latest
CachedCompiler
.
- Definition Classes
- CompilerCache → GlobalsCache
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
Clear the cache of
cached compilers
.Clear the cache of
cached compilers
.- Definition Classes
- CompilerCache → GlobalsCache
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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
- val maxInstances: Int
-
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
- @native() @throws( ... )