trait Interpreter extends AnyRef
- Alphabetic
- By Inheritance
- Interpreter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
currentLine(): Int
Current line count.
Current line count.
Should be increased each time execute is called with
store_history
set totrue
. -
abstract
def
execute(code: String, storeHistory: Boolean = true, inputManager: Option[InputManager] = None, outputHandler: Option[OutputHandler] = None): ExecuteResult
Executes some code.
Executes some code.
- returns
resulting ExecuteResult
-
abstract
def
kernelInfo(): KernelInfo
KernelInfo of this kernel.
KernelInfo of this kernel.
Sent to frontends via a
kernel_info_reply
each time akernel_info_request
is received.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asyncComplete(code: String, pos: Int): Option[FutureCompletion]
Asynchronously try to complete code.
Asynchronously try to complete code.
This is normally called before complete(). If this returns a non-empty option, it is assumed asynchronous completions are supported. Else, complete() is called.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
commManagerOpt: Option[CommManager]
If this kernel handles custom messages (see CommManager), a CommManager to receive messages.
-
final
def
complete(code: String): Completion
Tries to complete code.
-
def
complete(code: String, pos: Int): Completion
Tries to complete code.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(): Unit
Performs any heavyweight initialization.
- final def inspect(code: String, pos: Int): Option[Inspection]
- def inspect(code: String, pos: Int, detailLevel: Int): Option[Inspection]
-
def
interrupt(): Unit
Interrupts the kernel, likely when execute or complete are running.
-
def
interruptSupported: Boolean
Whether this kernel can be interrupted via a call to interrupt.
-
def
isComplete(code: String): Option[IsCompleteResult]
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. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setCommHandler(commHandler: CommHandler): Unit
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.
-
def
shutdown(): Unit
Called in response to a shutdown message, before a reply has been sent.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )