class
Interpreter extends AnyRef
Instance Constructors
-
new
Interpreter(prompt0: Ref[String], frontEnd0: Ref[FrontEnd], width: ⇒ Int, height: ⇒ Int, pprintConfig: Config, colors0: Ref[Colors], printer: Printer, storage: Ref[Storage], history: ⇒ History, predef: String, replArgs: Seq[Bind[_]])
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
val
SheBang: String
-
val
argString: String
-
final
def
asInstanceOf[T0]: T0
-
val
bridgeCls: Class[_]
-
def
clone(): AnyRef
-
-
-
-
-
def
errMsg(msg: String, code: String, expected: String, idx: Int): String
-
-
-
def
evaluateLine(code: String, printSnippet: Seq[String], printer: Printer, extraImports: Seq[ImportData] = Seq()): Res[Evaluated]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
-
val
hardcodedPredef: String
-
def
hashCode(): Int
-
def
init(): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
var
lastException: Throwable
-
val
mainThread: Thread
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
def
processCorrectScript(parsedCode: Success[Seq[Seq[String]]], evaluate: (String, Seq[ImportData]) ⇒ Res[Evaluated]): Seq[ImportData]
-
def
processExec(code: String): Seq[ImportData]
-
def
processLine(code: String, stmts: Seq[String]): Res[Evaluated]
-
def
processModule(code: String): Seq[ImportData]
-
-
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
-
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.