Packages

class ScalaInterpreter extends Publisher[InterpreterEvent]

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaInterpreter
  2. Publisher
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaInterpreter()

Type Members

  1. type Filter = (InterpreterEvent) => Boolean
    Definition Classes
    Publisher
  2. abstract type Pub <: Publisher[InterpreterEvent]
    Definition Classes
    Publisher
  3. type Sub = Subscriber[InterpreterEvent, Pub]
    Definition Classes
    Publisher

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def activateSubscription(sub: Sub): Unit
    Definition Classes
    Publisher
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean

    Checks if two publishers are structurally identical.

    Checks if two publishers are structurally identical.

    returns

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

    Definition Classes
    Publisher → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def publish(event: InterpreterEvent): Unit
    Attributes
    protected
    Definition Classes
    Publisher
  17. def removeSubscription(sub: Sub): Unit
    Definition Classes
    Publisher
  18. def removeSubscriptions(): Unit
    Definition Classes
    Publisher
  19. def run(code: String): Unit

    Interpret code

    Interpret code

    code

    actual text of the code to be interpreted.

  20. val self: Pub

    The publisher itself of type 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.

    Attributes
    protected
    Definition Classes
    Publisher
  21. def subscribe(sub: Sub, filter: Filter): Unit
    Definition Classes
    Publisher
  22. def subscribe(sub: Sub): Unit
    Definition Classes
    Publisher
  23. def suspendSubscription(sub: Sub): Unit
    Definition Classes
    Publisher
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Publisher[InterpreterEvent]

Inherited from AnyRef

Inherited from Any

Ungrouped