Packages

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(compilerBuilder: CompilerBuilder, parser: ⇒ Parser, printer: Printer, storage: Storage, wd: Path, colors: Ref[Colors], verboseOutput: Boolean = true, getFrame: () ⇒ Frame, createFrame: () ⇒ Frame, initialClassLoader: ClassLoader = null, replCodeWrapper: CodeWrapper, scriptCodeWrapper: CodeWrapper, alreadyLoadedDependencies: Seq[Dependency], importHooks: Map[Seq[String], ImportHook] = ImportHook.defaults, classPathWhitelist: Set[Seq[String]] = Set.empty)

Type Members

  1. type BlockData = Option[(ClassFiles, BlockMetadata)]
  2. abstract class DefaultLoadJar extends LoadJar

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val alreadyLoadedFiles: Map[CodeSource, Metadata]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val beforeExitHooks: Buffer[(Any) ⇒ Any]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def compilationCount: Int
  9. val compilerBuilder: CompilerBuilder
  10. val compilerManager: CompilerLifecycleManager
  11. val createFrame: () ⇒ Frame
  12. def dependencyComplete: (String) ⇒ (Int, Seq[String])
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. val eval: Evaluator
  16. def evalClassloader: SpecialClassLoader
  17. def evaluateLine(processed: Output, fileName: String, indexedWrapperName: Name, silent: Boolean = false, incrementLine: () ⇒ Unit): Res[(Evaluated, Tag)]
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def frameImports: Imports
  20. def frameUsedEarlierDefinitions: Seq[String]
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def handleImports(i: Imports): Unit
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def headFrame: Frame
  25. def initializePredef(basePredefs: Seq[PredefInfo], customPredefs: Seq[PredefInfo], extraBridges: Seq[(String, String, AnyRef)], baseImports: Imports = Interpreter.predefImports): Option[(Failing, Seq[(Watchable, Long)])]
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def loadIvy(coordinates: Dependency*): Either[String, Seq[File]]
    Definition Classes
    Interpreter → InterpreterInterface
  28. val mainThread: Thread
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def pluginClassloader: SpecialClassLoader
  33. var predefImports: Imports
  34. val printer: Printer
  35. 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]
  36. def processExec(code: String, currentLine: Int, incrementLine: () ⇒ Unit): Res[Imports]
  37. def processLine(code: String, stmts: Seq[String], currentLine: Int, silent: Boolean = false, incrementLine: () ⇒ Unit): Res[Evaluated]
  38. def processModule(code: String, codeSource: CodeSource, autoImport: Boolean, extraCode: String, hardcoded: Boolean, moduleCodeWrapper: CodeWrapper = scriptCodeWrapper): Res[Metadata]
  39. def processSingleBlock(processed: Output, codeSource0: CodeSource, indexedWrapperName: Name): Res[(Evaluated, Tag)]
  40. val repositories: Ref[List[Repository]] { ... /* 2 definitions in type refinement */ }
  41. val resolutionHooks: Buffer[(Fetch) ⇒ Fetch]
  42. def resolveImportHooks(importTrees: Seq[ImportTree], hookedStmts: Seq[String], source: CodeSource, wrapperPath: Seq[Name]): Res[ImportHookInfo]
  43. def resolveSingleImportHook(source: CodeSource, tree: ImportTree, wrapperPath: Seq[Name]): Res[Seq[Imports]]
  44. def scalaVersion: String
    Definition Classes
    Interpreter → InterpreterInterface
  45. val scriptCodeWrapper: CodeWrapper
  46. val storage: Storage
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  52. def watch(p: Path): Unit
    Definition Classes
    Interpreter → InterpreterInterface
  53. def watchValue[T](v: ⇒ T): Unit
  54. val watchedValues: Buffer[(Watchable, Long)]
  55. val wd: Path

Inherited from InterpreterInterface

Inherited from AnyRef

Inherited from Any

Ungrouped