Worksheet

object Worksheet
class Object
trait Matchable
class Any

Value members

Concrete methods

def run(tree: SourceTree, treeLock: Object, sendMessage: (SourcePosition, String) => Unit, cancelChecker: CancelChecker)(implicit ctx: Context): Unit

Run tree as a worksheet using the REPL.

Run tree as a worksheet using the REPL.

Value Params
cancelChecker

A token to check whether execution should be cancelled.

sendMessage

A mean of communicating the results of evaluation back.

tree

The top level object wrapping the worksheet.

treeLock

Object on which to lock when doing operations on trees.