c

ammonite.compiler

CompilerLifecycleManager

class CompilerLifecycleManager extends compiler.iface.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

Linear Supertypes
iface.CompilerLifecycleManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerLifecycleManager
  2. CompilerLifecycleManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompilerLifecycleManager(rtCacheDir: Option[Path], headFrame: ⇒ Frame, dependencyCompleteOpt: ⇒ Option[(String) ⇒ (Int, Seq[String])], classPathWhitelist: Set[Seq[String]], initialClassLoader: ClassLoader)

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 addToClasspath(classFiles: ClassFiles): Unit
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compilationCount: Int
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  8. def compileClass(processed: Output, printer: Printer, fileName: String): Option[Output]
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  9. def compiler: Compiler
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  10. def complete(offset: Int, previousImports: String, snippet: String): (Int, Seq[String], Seq[String])
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  11. def configureCompiler(callback: (Global) ⇒ Unit): Unit
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. def init(force: Boolean = false): Unit
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def preConfigureCompiler(callback: (Settings) ⇒ Unit): Unit
  23. def preprocess(fileName: String): Preprocessor
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  24. def pressy: Pressy
  25. def scalaVersion: String
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  26. def shutdownPressy(): Unit
    Definition Classes
    CompilerLifecycleManager → CompilerLifecycleManager
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from iface.CompilerLifecycleManager

Inherited from AnyRef

Inherited from Any

Ungrouped