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

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

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
  7. def clone(): AnyRef

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

    Permalink
  9. val compilerManager: CompilerLifecycleManager

    Permalink
  10. val createFrame: () ⇒ Frame

    Permalink
  11. def dependencyComplete: (String) ⇒ (Int, Seq[String])

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

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

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

    Permalink
  15. def evalClassloader: SpecialClassLoader

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

    Permalink
  17. def finalize(): Unit

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

    Permalink
  19. def frameUsedEarlierDefinitions: Seq[String]

    Permalink
  20. final def getClass(): Class[_]

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

    Permalink
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def headFrame: Frame

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

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

    Permalink
  26. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def parseImportHooks(source: CodeSource, stmts: Seq[String]): (Seq[String], Seq[ImportTree])

    Permalink
  33. def pluginClassloader: SpecialClassLoader

    Permalink
  34. var predefImports: Imports

    Permalink
  35. val printer: Printer

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

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

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

    Permalink
  39. def processModule(code: String, codeSource: CodeSource, autoImport: Boolean, extraCode: String, hardcoded: Boolean, moduleCodeWrapper: CodeWrapper = scriptCodeWrapper): Res[Metadata]

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

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

    Permalink
  42. val resolutionHooks: Buffer[(Fetch[Task]) ⇒ Fetch[Task]]

    Permalink
  43. def resolveImportHooks(importTrees: Seq[ImportTree], hookedStmts: Seq[String], source: CodeSource, wrapperPath: Seq[Name]): Res[ImportHookInfo]

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

    Permalink
  45. val storage: Storage

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

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

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

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

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

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

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

    Permalink
  53. val wd: Path

    Permalink

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped