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)

    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. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
  9. def clone(): AnyRef

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

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

    Permalink
  12. var compiler: Compiler

    Permalink
  13. val dynamicClasspath: VirtualDirectory

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

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

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

    Permalink
  17. def evalClassloader: SpecialClassLoader

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

    Permalink
  19. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def handleEvalClasspath(jar: File): Unit

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

    Permalink
  23. def handlePluginClasspath(jar: File): Unit

    Permalink
  24. def hashCode(): Int

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

    Permalink
  26. def init(): Unit

    Permalink
  27. lazy val interpApi: InterpAPI

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. var lastException: Throwable

    Permalink
  30. def loadIvy(coordinates: (String, String, String), verbose: Boolean = true): Set[File]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. var predefImports: Imports

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

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

    Permalink
  38. var pressy: Pressy

    Permalink
  39. val printer: Printer

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

    Permalink
  41. def processExec(code: String): Res[Imports]

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

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

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

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

    Permalink
  46. def reInit(): Unit

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

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

    Permalink
  49. val storage: Storage

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

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

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

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

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

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

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

    Permalink

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped