Interpreter

de.sciss.scalainterpreter.Interpreter
See theInterpreter companion object

The Interpreter wraps the underlying Scala interpreter functionality.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

A code completion component which may be attached to an editor.

A code completion component which may be attached to an editor.

Attributes

def interpret(code: String, quiet: Boolean): Result

Interprets a piece of code. Unlike interpret the result is not evaluated. That is, in the case off Success the result value will always be ().

Interprets a piece of code. Unlike interpret the result is not evaluated. That is, in the case off Success the result value will always be ().

Attributes

def interpretWithResult(code: String, quiet: Boolean): Result

Interprets a piece of code

Interprets a piece of code

Attributes

code

the source code to interpret

quiet

whether to suppress result printing (true) or not (false)

Returns:

the result of the execution of the interpreted code