Class/Object

ammonite.interp

Interpreter

Related Docs: object Interpreter | package interp

Permalink

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
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)

    Permalink

Type Members

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

    Permalink
  2. abstract class DefaultLoadJar extends LoadJar

    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. final def asInstanceOf[T0]: T0

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

    Permalink
  6. def clone(): AnyRef

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

    Permalink
  8. val compilerManager: CompilerLifecycleManager

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val eval: Evaluator

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

    Permalink
  13. def finalize(): Unit

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

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

    Permalink
  16. def hashCode(): Int

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

    Permalink
  18. lazy val interpApi: InterpAPI

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. var lastException: Throwable

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

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  22. val mainThread: Thread

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. var predefImports: Imports

    Permalink
  27. val printer: Printer

    Permalink
  28. 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]

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

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

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

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

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

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

    Permalink
  35. val storage: Storage

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

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

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

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

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

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

    Permalink
  42. val wd: Path

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped