Class/Object

ammonite.runtime

Interpreter

Related Docs: object Interpreter | package runtime

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[(Name, String)], extraBridges: (Interpreter) ⇒ Seq[(String, String, AnyRef)], wd: Path, verboseOutput: Boolean = true, eval: Evaluator = Interpreter.defaultEvaluator)

    Permalink

Type Members

  1. 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. def addedDependencies(plugin: Boolean): Seq[(String, String, String)]

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  5. var addedDependencies0: ListBuffer[(String, String, String)]

    Permalink
  6. def addedJars(plugin: Boolean): HashSet[File]

    Permalink
  7. var addedJars0: HashSet[File]

    Permalink
  8. var addedPluginDependencies: ListBuffer[(String, String, String)]

    Permalink
  9. var addedPluginJars: HashSet[File]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val bridgePredefs: Seq[(Name, String)]

    Permalink
  12. val bridges: Seq[(String, String, AnyRef)]

    Permalink
  13. def cachedCompileBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name], printCode: String): Res[(Class[_], Imports, String)]

    Permalink
  14. def clone(): AnyRef

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

    Permalink
  16. def compileClass(processed: Output, printer: Printer, fileName: String): Res[(ClassFiles, Imports)]

    Permalink
  17. var compiler: Compiler

    Permalink
  18. lazy val depThing: DependencyThing

    Permalink
  19. var dependencyExclusions: ListBuffer[(String, String)]

    Permalink
  20. val dynamicClasspath: VirtualDirectory

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

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

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

    Permalink
  24. def evalClassloader: SpecialClassLoader

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

    Permalink
  26. def exclude(coordinates: (String, String)): Unit

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  27. def exclusions(plugin: Boolean): Seq[(String, String)]

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  28. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def handleEvalClasspath(jars: Seq[File], coords: Seq[(String, String, String)]): Seq[File]

    Permalink
  31. def handleOutput(res: Res[Evaluated]): Unit

    Permalink
  32. def handlePluginClasspath(jars: Seq[File], coords: Seq[(String, String, String)]): Seq[File]

    Permalink
  33. def hashCode(): Int

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

    Permalink
  35. def init(): Unit

    Permalink
  36. lazy val interpApi: InterpAPI

    Permalink
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. var lastException: Throwable

    Permalink
  39. def loadIvy(coordinates: (String, String, String), previousCoordinates: Seq[(String, String, String)], exclusions: Seq[(String, String)], verbose: Boolean = true): Set[File]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def onExit(cb: (Any) ⇒ Unit): Unit

    Permalink
  45. var onExitCallbacks: Seq[(Any) ⇒ Unit]

    Permalink
  46. var predefImports: Imports

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

    Permalink
  48. def preprocessScript(source: Source, code: String): Res[(Seq[(String, Seq[String])], Imports, Seq[Seq[ImportTree]])]

    Permalink
  49. var pressy: Pressy

    Permalink
  50. def printBridge: String

    Permalink
  51. val printer: Printer

    Permalink
  52. def processCorrectScript(blocks: Seq[(String, Seq[String])], startingImports: Imports, pkgName: Seq[Name], wrapperName: Name, evaluate: EvaluateCallback, autoImport: Boolean, silent: Boolean, extraCode: String): Res[CacheData]

    Permalink
  53. def processExec(code: String, silent: Boolean): Res[Imports]

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

    Permalink
  55. def processModule(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], autoImport: Boolean, extraCode: String): Res[(Imports, Seq[(String, String)])]

    Permalink
  56. def processModule0(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], startingImports: Imports, autoImport: Boolean, extraCode: String): Res[ProcessedData]

    Permalink
  57. def processScriptBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name]): Res[Evaluated]

    Permalink
  58. def reInit(): Unit

    Permalink
  59. def resolveImportHooks(source: Source, stmts: Seq[String]): Res[(Imports, Seq[String], Seq[ImportTree])]

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

    Permalink
  61. val storage: Storage

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. val wd: Path

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  68. def withContextClassloader[T](t: ⇒ T): T

    Permalink

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped