ammonite.repl.interp

Interpreter

Related Doc: package interp

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, pprintConfig: Config, colors0: Ref[Colors], printer: Printer, storage: Ref[Storage], history: ⇒ History, predef: String, replArgs: Seq[Bind[_]])

Type Members

  1. abstract class DefaultLoadJar extends LoadJar with Resolvers

  2. type EvaluateCallback = (String, Seq[ImportData]) ⇒ Res[Evaluated]

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 SheBang: String

  5. val argString: String

  6. final def asInstanceOf[T0]: T0

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

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var compiler: Compiler

  10. val dynamicClasspath: VirtualDirectory

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

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

    Definition Classes
    AnyRef → Any
  13. def errMsg(msg: String, code: String, expected: String, idx: Int): String

  14. val eval: Evaluator

  15. def evalClassloader: SpecialClassLoader

  16. def evaluateLine(code: String, printSnippet: Seq[String], printer: Printer, extraImports: Seq[ImportData] = Seq()): Res[Evaluated]

  17. def finalize(): Unit

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

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

  20. val hardcodedPredef: String

  21. def hashCode(): Int

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

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. var lastException: Throwable

  25. val mainThread: Thread

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

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

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

    Definition Classes
    AnyRef
  29. val preprocess: Preprocessor

  30. var pressy: Pressy

  31. def processCorrectScript(parsedCode: Success[Seq[Seq[String]]], evaluate: EvaluateCallback): Seq[ImportData]

  32. def processExec(code: String): Seq[ImportData]

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

  34. def processModule(code: String): Seq[ImportData]

  35. def processScript(code: String, evaluate: (String, Seq[ImportData]) ⇒ Res[Evaluated]): Seq[ImportData]

  36. lazy val replApi: ReplAPI

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped