Class

ammonite.interp

CompilerLifecycleManager

Related Doc: package interp

Permalink

class CompilerLifecycleManager extends AnyRef

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerLifecycleManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompilerLifecycleManager(storage: Storage, headFrame: ⇒ Frame)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addToClasspath(classFiles: ClassFiles): Unit

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compilationCount: Int

    Permalink
  8. def compileClass(processed: Output, printer: Printer, fileName: String): Res[Output]

    Permalink
  9. def compiler: Compiler

    Permalink
  10. def complete(offset: Int, previousImports: String, snippet: String): (Int, Seq[String], Seq[String])

    Permalink
  11. def configureCompiler(callback: (Global) ⇒ Unit): Unit

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def init(force: Boolean = false): Unit

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def preConfigureCompiler(callback: (Settings) ⇒ Unit): Unit

    Permalink
  23. def preprocess(fileName: String): Preprocessor

    Permalink
  24. def pressy: Pressy

    Permalink
  25. def search(target: scala.reflect.api.JavaUniverse.Type): Option[String]

    Permalink
  26. def shutdownPressy(): Unit

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped