class
CompilerLifecycleManager extends AnyRef
Instance Constructors
-
new
CompilerLifecycleManager(storage: Storage, headFrame: ⇒ Frame, dependencyCompleteOpt: ⇒ Option[(String) ⇒ (Int, Seq[String])])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addToClasspath(classFiles: ClassFiles): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
compilationCount: Int
-
def
compileClass(processed: Output, printer: Printer, fileName: String): Res[Output]
-
-
def
complete(offset: Int, previousImports: String, snippet: String): (Int, Seq[String], Seq[String])
-
def
configureCompiler(callback: (Global) ⇒ Unit): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
init(force: Boolean = false): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
preConfigureCompiler(callback: (Settings) ⇒ Unit): Unit
-
def
preprocess(fileName: String): Preprocessor
-
-
def
search(target: scala.reflect.api.JavaUniverse.Type): Option[String]
-
def
shutdownPressy(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Wraps up the
Compiler
andPressy
, ensuring that they get properly initialized before use. Mostly deals with ensuring the object lifecycles are properly dealt with;Compiler
andPressy
are the ones which deal with the compiler's nasty APIsExposes 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