Trait

almond.interpreter

Interpreter

Related Doc: package interpreter

Permalink

trait Interpreter extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Interpreter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def currentLine(): Int

    Permalink

    Current line count.

    Current line count.

    Should be increased each time execute is called with store_history set to true.

  2. abstract def execute(code: String, storeHistory: Boolean = true, inputManager: Option[InputManager] = None, outputHandler: Option[OutputHandler] = None): ExecuteResult

    Permalink

    Executes some code.

    Executes some code.

    returns

    resulting ExecuteResult

  3. abstract def kernelInfo(): KernelInfo

    Permalink

    KernelInfo of this kernel.

    KernelInfo of this kernel.

    Sent to frontends via a kernel_info_reply each time a kernel_info_request is received.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def commManagerOpt: Option[CommManager]

    Permalink

    If this kernel handles custom messages (see CommManager), a CommManager to receive messages.

  7. def complete(code: String, pos: Int): Completion

    Permalink

    Tries to complete code.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def init(): Unit

    Permalink

    Performs any heavyweight initialization.

  14. def inspect(code: String, pos: Int, detailLevel: Int): Option[Inspection]

    Permalink

  15. def interrupt(): Unit

    Permalink

    Interrupts the kernel, likely when execute or complete are running.

  16. def interruptSupported: Boolean

    Permalink

    Whether this kernel can be interrupted via a call to interrupt.

  17. def isComplete(code: String): Option[IsCompleteResult]

    Permalink

    Whether the passed code is complete.

    Whether the passed code is complete.

    Mostly used by jupyter console, to know whether the code entered should be evaluated or a new prompt should be displayed for the entered code to be completed.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def setCommHandler(commHandler: CommHandler): Unit

    Permalink

    Provides a CommHandler that this kernel can use to send custom messages to the frontend.

    Provides a CommHandler that this kernel can use to send custom messages to the frontend.

    Called prior to any call to execute, if and only if commManagerOpt returns a CommManager.

    See CommManager for more details about custom messages.

  23. def shutdown(): Nothing

    Permalink

    Called in response to the Shutdown message, after a reply has been sent, in order to shutdown the JVM.

    Called in response to the Shutdown message, after a reply has been sent, in order to shutdown the JVM. Exit code zero indicates intentional shutdown as opposed to error condition.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped