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 bridgePredefs: Seq[(Name, String)]

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

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

    Permalink
  16. def clone(): AnyRef

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

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

    Permalink
  19. var compiler: Compiler

    Permalink
  20. lazy val depThing: DependencyThing

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

    Permalink
  22. val dynamicClasspath: VirtualDirectory

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

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

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

    Permalink
  26. def evalClassloader: SpecialClassLoader

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

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

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

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

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

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

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

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

    Permalink
  35. def hashCode(): Int

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

    Permalink
  37. def init(): Unit

    Permalink
  38. def initialSettings: Settings

    Permalink
  39. def interpApi: InterpAPI

    Permalink
  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. var lastException: Throwable

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

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

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

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

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

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

    Permalink
  49. var predefImports: Imports

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

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

    Permalink
  52. var pressy: Pressy

    Permalink
  53. def printBridge: String

    Permalink
  54. val printer: Printer

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

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

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

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

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

    Permalink
  61. def profiles: Set[String]

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

    Permalink
  63. def reInit(): Unit

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

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

    Permalink
  66. val storage: Storage

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

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

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

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

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

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

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

    Permalink

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped