Class

ammonite.repl.interp

Interpreter

Related Doc: package interp

Permalink

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
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[_]])

    Permalink

Type Members

  1. abstract class DefaultLoadJar extends LoadJar with Resolvers

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

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

    Permalink
  5. val argString: String

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. val dynamicClasspath: VirtualDirectory

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

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

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

    Permalink
  14. val eval: Evaluator

    Permalink
  15. def evalClassloader: SpecialClassLoader

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

    Permalink
  17. def finalize(): Unit

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

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

    Permalink
  20. val hardcodedPredef: String

    Permalink
  21. def hashCode(): Int

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

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. var lastException: Throwable

    Permalink
  25. val mainThread: Thread

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. val predefImports: Seq[ImportData]

    Permalink
  30. val predefs: Seq[(String, String, String)]

    Permalink
  31. val preprocess: Preprocessor

    Permalink
  32. var pressy: Pressy

    Permalink
  33. def processCorrectScript(rawParsedCode: Success[Seq[(String, Seq[String])]], startingImports: Seq[ImportData], evaluate: EvaluateCallback): Res[Seq[ImportData]]

    Permalink
  34. def processExec(code: String): Res[Seq[ImportData]]

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

    Permalink
  36. def processModule(code: String, wrapperName: String, pkgName: String): Res[Seq[ImportData]]

    Permalink
  37. def processModule0(code: String, wrapperName: String, pkgName: String, startingImports: Seq[ImportData]): Res[Seq[ImportData]]

    Permalink
  38. def processScript(code: String, startingImports: Seq[ImportData], evaluate: (String, Seq[ImportData], Int) ⇒ Res[Evaluated]): Res[Seq[ImportData]]

    Permalink
  39. lazy val replApi: ReplAPI

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

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

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped