ammonite.interp

Interpreter

class Interpreter extends InterpreterInterface

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
InterpreterInterface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Interpreter
  2. InterpreterInterface
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Interpreter(printer: Printer, storage: Storage, customPredefs: Seq[PredefInfo], extraBridges: (Interpreter) ⇒ Seq[(String, String, AnyRef, () ⇒ Unit)], wd: Path, verboseOutput: Boolean = true)

Type Members

  1. type BlockData = Option[(ClassFiles, BlockMetadata)]

  2. abstract class DefaultLoadJar extends LoadJar

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val beforeExitHooks: Buffer[(Any) ⇒ Any]

  8. def clone(): AnyRef

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

  10. val compilerManager: CompilerLifecycleManager

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

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

    Definition Classes
    AnyRef → Any
  13. val eval: Evaluator

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

  15. def finalize(): Unit

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

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

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. val importHooks: Ref[Map[Seq[String], ImportHook]] { ... /* 2 definitions in type refinement */ }

  20. lazy val interpApi: InterpAPI

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. var lastException: Throwable

  23. def loadIvy(coordinates: Dependency*): Either[String, Set[File]]

    Definition Classes
    Interpreter → InterpreterInterface
  24. val mainThread: Thread

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

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

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

    Definition Classes
    AnyRef
  28. var predefImports: Imports

  29. val printer: Printer

  30. def processCorrectScript(blocks: Seq[BlockData], splittedScript: ⇒ Res[IndexedSeq[(String, Seq[String])]], startingImports: Imports, codeSource: CodeSource, evaluate: (Output, Name) ⇒ Res[(Evaluated, Tag)], autoImport: Boolean, extraCode: String): Res[Metadata]

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

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

  33. def processModule(code: String, codeSource: CodeSource, autoImport: Boolean, extraCode: String, hardcoded: Boolean): Res[Metadata]

  34. def processScriptBlock(processed: Output, codeSource0: CodeSource, indexedWrapperName: Name): Res[(Evaluated, Tag)]

  35. def resolveImportHooks(source: CodeSource, stmts: Seq[String]): Res[ImportHookInfo]

  36. def resolveSingleImportHook(source: CodeSource, tree: ImportTree): Res[Seq[Imports]]

  37. val storage: Storage

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

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. val watchedFiles: Buffer[(Path, Long)]

  44. val wd: Path

    Definition Classes
    Interpreter → InterpreterInterface

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped