Instance Constructors
-
new
Interpreter(prompt0: Ref[String], frontEnd0: Ref[FrontEnd], width: ⇒ Int, height: ⇒ Int, colors0: Ref[Colors], printer: Printer, storage: Storage, history: ⇒ History, predef: String, wd: Path, replArgs: Seq[Bind[_]])
Type Members
-
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
argString: String
-
final
def
asInstanceOf[T0]: T0
-
val
bridgeCls: Class[_]
-
def
cachedCompileBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name], printCode: String): Res[(Class[_], Imports, String)]
-
def
clone(): AnyRef
-
def
compilationCount: Int
-
-
-
-
-
-
-
-
def
evaluateLine(processed: Output, printer: Printer, fileName: String, indexedWrapperName: Name): Res[Evaluated]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
handleEvalClasspath(jar: File): Unit
-
-
def
handlePluginClasspath(jar: File): Unit
-
val
hardcodedPredef: String
-
def
hashCode(): Int
-
val
importHooks: Ref[Map[Seq[String], ImportHook]] { ... /* 2 definitions in type refinement */ }
-
def
init(): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
var
lastException: Throwable
-
def
loadIvy(coordinates: (String, String, String), verbose: Boolean = true): Set[File]
-
val
mainThread: Thread
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
var
predefImports: Imports
-
val
predefs: Seq[(String, Name)]
-
def
preprocessScript(source: Source, code: String): Res[(Seq[(String, Seq[String])], Imports, Seq[Seq[ImportTree]])]
-
-
def
processCorrectScript(blocks: Seq[(String, Seq[String])], startingImports: Imports, pkgName: Seq[Name], wrapperName: Name, evaluate: EvaluateCallback, autoImport: Boolean, extraCode: String): Res[CacheData]
-
def
processExec(code: String): Res[Imports]
-
def
processLine(code: String, stmts: Seq[String], fileName: String): Res[Evaluated]
-
def
processModule(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], autoImport: Boolean, extraCode: String): Res[(Imports, Seq[(String, String)])]
-
def
processModule0(source: Source, code: String, wrapperName: Name, pkgName: Seq[Name], startingImports: Imports, autoImport: Boolean, extraCode: String): Res[ProcessedData]
-
def
processScriptBlock(processed: Output, printer: Printer, wrapperName: Name, fileName: String, pkgName: Seq[Name]): Res[Evaluated]
-
def
reInit(): Unit
-
lazy val
replApi: ReplAPI
-
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
val
wd: Path
-
def
withContextClassloader[T](t: ⇒ T): T
A convenient bundle of all the functionality necessary to interpret Scala code. Doesn't attempt to provide any real encapsulation for now.