ammonite.repl.interp

Interpreter

class Interpreter extends AnyRef

A convenient bundle of all the functionality necessary to interpret Scala code. Doesn't attempt to provide any real encapsulation for now.

Self Type
Interpreter
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Interpreter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Interpreter(prompt0: Ref[String], frontEnd0: Ref[FrontEnd], width: ⇒ Int, height: ⇒ Int, colors0: Ref[Colors], printer: Printer, storage: Storage, history: ⇒ History, predef: String, wd: Path, replArgs: Seq[Bind[_]])

Type Members

  1. abstract class DefaultLoadJar extends LoadJar with Resolvers

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. val argString: String

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val bridgeCls: Class[_]

  7. def cachedCompileBlock(processed: Output, printer: Printer, wrapperName: String, fileName: String, pkgName: String, printCode: String): Res[(Class[_], Imports)]

  8. def clone(): AnyRef

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

  10. def compileClass(processed: Output, printer: Printer, fileName: String): Res[(ClassFiles, Imports)]

  11. var compiler: Compiler

  12. val dynamicClasspath: VirtualDirectory

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. val eval: Evaluator

  16. def evalClassloader: SpecialClassLoader

  17. def evaluateLine(processed: Output, printer: Printer, fileName: String, indexedWrapperName: String): Res[Evaluated]

  18. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  20. def handleOutput(res: Res[Evaluated]): Unit

  21. val hardcodedPredef: String

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def init(): Unit

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. var lastException: Throwable

  26. val mainThread: Thread

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. var predefImports: Imports

  31. val predefs: Seq[(String, String, String)]

  32. val preprocess: Preprocessor

  33. var pressy: Pressy

  34. def processCorrectScript(blocks: Seq[(String, Seq[String])], startingImports: Imports, pkgName: String, wrapperName: String, evaluate: EvaluateCallback): Res[Imports]

  35. def processExec(code: String): Res[Imports]

  36. def processLine(code: String, stmts: Seq[String], fileName: String): Res[Evaluated]

  37. def processModule(code: String, wrapperName: String, pkgName: String): Res[Imports]

  38. def processModule0(code: String, wrapperName: String, pkgName: String, startingImports: Imports): Res[Imports]

  39. def processScriptBlock(processed: Output, printer: Printer, wrapperName: String, fileName: String, pkgName: String): Res[Evaluated]

  40. lazy val replApi: ReplAPI

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

    Definition Classes
    AnyRef
  42. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withContextClassloader[T](t: ⇒ T): T

Inherited from AnyRef

Inherited from Any

Ungrouped