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, basePredefs: Seq[PredefInfo], customPredefs: Seq[PredefInfo], extraBridges: Seq[(String, String, AnyRef)], wd: Path, colors: Ref[Colors], verboseOutput: Boolean = true, getFrame: () ⇒ Frame)

Type Members

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

  2. abstract class DefaultLoadJar extends LoadJar

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 alreadyLoadedFiles: Map[CodeSource, Metadata]

  5. final def asInstanceOf[T0]: T0

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

  7. def clone(): AnyRef

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

  9. val compilerManager: CompilerLifecycleManager

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

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

    Definition Classes
    AnyRef → Any
  12. val eval: Evaluator

  13. def evalClassloader: SpecialClassLoader

  14. def evaluateLine(processed: Output, printer: Printer, fileName: String, indexedWrapperName: Name, silent: Boolean = false, incrementLine: () ⇒ Unit): Res[(Evaluated, Tag)]

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def frameImports: Imports

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def handleImports(i: Imports): Unit

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def headFrame: Frame

  21. val importHooks: Ref[Map[Seq[String], ImportHook]] { ... /* 2 definitions in type refinement */ }

  22. def initializePredef(): Option[(Failing, Seq[(Path, Long)])]

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def loadIvy(coordinates: Dependency*): Either[String, Set[File]]

    Definition Classes
    Interpreter → InterpreterInterface
  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. def parseImportHooks(source: CodeSource, stmts: Seq[String]): (Buffer[String], Buffer[ImportTree])

  30. def pluginClassloader: SpecialClassLoader

  31. var predefImports: Imports

  32. val printer: Printer

  33. def processAllScriptBlocks(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]

  34. def processExec(code: String, currentLine: Int, incrementLine: () ⇒ Unit): Res[Imports]

  35. def processLine(code: String, stmts: Seq[String], currentLine: Int, silent: Boolean = false, incrementLine: () ⇒ Unit): Res[Evaluated]

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

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

  38. val repositories: Ref[List[Repository]] { ... /* 2 definitions in type refinement */ }

  39. def resolveImportHooks(importTrees: Seq[ImportTree], hookedStmts: Seq[String], source: CodeSource): Res[ImportHookInfo]

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

  41. val storage: Storage

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

    Definition Classes
    AnyRef
  43. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def watch(p: Path): Unit

    Definition Classes
    Interpreter → InterpreterInterface
  48. val watchedFiles: Buffer[(Path, Long)]

  49. val wd: Path

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped