ScalaInterpreter

ij_plugins.scala.console.ScalaInterpreter
See theScalaInterpreter companion object

Wrapper for scala interpreter. Publishes events when output is printed to standard output, standard error, and to interpreter log.

Publishes events: StateEvent, OutStreamEvent, ErrStreamEvent, InterpreterLogEvent, ResultEvent.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type Filter = Evt => Boolean

Attributes

Inherited from:
Publisher
type Pub <: Publisher[Evt]

Attributes

Inherited from:
Publisher
type Sub = Subscriber[Evt, Pub]

Attributes

Inherited from:
Publisher

Value members

Concrete methods

def run(code: String): Unit

Interpret code

Interpret code

Attributes

code

actual text of the code to be interpreted.

Inherited methods

def activateSubscription(sub: Sub): Unit

Attributes

Inherited from:
Publisher
override def equals(obj: Any): Boolean

Checks if two publishers are structurally identical.

Checks if two publishers are structurally identical.

Attributes

Returns:

true, iff both publishers contain the same sequence of elements.

Definition Classes
Publisher -> Any
Inherited from:
Publisher
protected def publish(event: InterpreterEvent): Unit

Attributes

Inherited from:
Publisher
def removeSubscription(sub: Sub): Unit

Attributes

Inherited from:
Publisher

Attributes

Inherited from:
Publisher
def subscribe(sub: Sub, filter: Filter): Unit

Attributes

Inherited from:
Publisher
def subscribe(sub: Sub): Unit

Attributes

Inherited from:
Publisher
def suspendSubscription(sub: Sub): Unit

Attributes

Inherited from:
Publisher

Inherited fields

protected val self: Pub

The publisher itself of type Pub. Implemented by a cast from this here. Needs to be overridden if the actual publisher is different from this.

The publisher itself of type Pub. Implemented by a cast from this here. Needs to be overridden if the actual publisher is different from this.

Attributes

Inherited from:
Publisher