trait
Evaluator extends AnyRef
Abstract Value Members
-
abstract
def
compilationCount: Int
-
abstract
def
getCurrentLine: String
-
abstract
def
loadClass(wrapperName: String, classFiles: ClassFiles): Res[Class[_]]
-
abstract
def
previousImportBlock: String
-
abstract
def
processLine(code: String, printCode: String, printer: Printer, fileName: String, extraImports: Seq[ImportData] = Seq()): Res[Evaluated]
-
abstract
def
processScriptBlock(code: String, scriptImports: Seq[ImportData], printer: Printer, wrapperName: String, fileName: String, pkgName: String): Res[Evaluated]
-
abstract
def
sess: Session
-
abstract
def
update(newImports: Seq[ImportData]): Unit
Concrete Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
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
Takes source code and, with the help of a compiler and preprocessor, evaluates it and returns a
Result[(output: String, imports: String)]
whereoutput
is what gets printed andimports
are any imports that need to get prepended to subsequent commands.