org.jetbrains.kotlinx.jupyter.repl.notebook.MutableNotebook.kt Maven / Gradle / Ivy
package org.jetbrains.kotlinx.jupyter.repl.notebook
import org.jetbrains.kotlinx.jupyter.api.KotlinKernelHost
import org.jetbrains.kotlinx.jupyter.api.Notebook
import org.jetbrains.kotlinx.jupyter.codegen.FieldsProcessorInternal
import org.jetbrains.kotlinx.jupyter.codegen.ResultsRenderersProcessor
import org.jetbrains.kotlinx.jupyter.codegen.TextRenderersProcessorWithPreventingRecursion
import org.jetbrains.kotlinx.jupyter.repl.EvalData
import org.jetbrains.kotlinx.jupyter.repl.SharedReplContext
interface MutableNotebook : Notebook {
// Can be `null` before the REPL has completed initialization
var sharedReplContext: SharedReplContext?
override var executionHost: KotlinKernelHost?
override val displays: MutableDisplayContainer
fun addCell(data: EvalData): MutableCodeCell
fun popCell()
fun beginEvalSession()
override val currentCell: MutableCodeCell?
override val renderersProcessor: ResultsRenderersProcessor
override val textRenderersProcessor: TextRenderersProcessorWithPreventingRecursion
override val fieldsHandlersProcessor: FieldsProcessorInternal
}