CompilerLifecycleManager
ammonite.compiler.CompilerLifecycleManager
class CompilerLifecycleManager(rtCacheDir: Option[Path], headFrame: => Frame, dependencyCompleteOpt: => Option[String => (Int, Seq[String])], classPathWhitelist: Set[Seq[String]], initialClassLoader: ClassLoader, val outputDir: Option[Path], initialSettings: Seq[String]) extends CompilerLifecycleManager
Wraps up the Compiler and Pressy, ensuring that they get properly
initialized before use. Mostly deals with ensuring the object lifecycles
are properly dealt with; Compiler and Pressy are the ones which deal
with the compiler's nasty APIs
Exposes a simple API where you can just call methods like compilerClass
configureCompiler any-how and not worry about ensuring the necessary
compiler objects are initialized, or worry about initializing them more
than necessary
Attributes
- Graph
- Supertypes
- class CompilerLifecycleManagerclass Objecttrait Matchableclass Any