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

    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 addProfile(profile: String): Unit

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  5. def addRepository(repository: String): Unit

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

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

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

    Permalink
  9. var addedJars0: HashSet[File]

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

    Permalink
  11. var addedPluginJars: HashSet[File]

    Permalink
  12. final def asInstanceOf[T0]: T0

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

    Permalink
  14. val bridgePredefs: Seq[(Name, String)]

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

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

    Permalink
  17. def clone(): AnyRef

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

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

    Permalink
  20. var compiler: Compiler

    Permalink
  21. lazy val depThing: DependencyThing

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

    Permalink
  23. val dynamicClasspath: VirtualDirectory

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

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

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

    Permalink
  27. def evalClassloader: SpecialClassLoader

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

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

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

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

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

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

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

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

    Permalink
  36. def hashCode(): Int

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

    Permalink
  38. def init(): Unit

    Permalink
  39. def initialSettings: Settings

    Permalink
  40. def interpApi: InterpAPI

    Permalink
  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. var lastException: Throwable

    Permalink
  43. 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
  44. val mainThread: Thread

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

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

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

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

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

    Permalink
  50. var predefImports: Imports

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

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

    Permalink
  53. var pressy: Pressy

    Permalink
  54. def printBridge: String

    Permalink
  55. val printer: Printer

    Permalink
  56. 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
  57. def processExec(code: String, silent: Boolean): Res[Imports]

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

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

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

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

    Permalink
  62. def profiles: Set[String]

    Permalink
    Definition Classes
    Interpreter → InterpreterInterface
  63. var profiles0: HashSet[String]

    Permalink
  64. def reInit(): Unit

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

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

    Permalink
  67. val storage: Storage

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

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

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

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

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

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

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

    Permalink

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped