org.jetbrains.kotlinx.jupyter.repl.SharedReplContext.kt Maven / Gradle / Ivy
The newest version!
package org.jetbrains.kotlinx.jupyter.repl
import org.jetbrains.kotlinx.jupyter.api.ExecutionCallback
import org.jetbrains.kotlinx.jupyter.api.ExtensionsProcessor
import org.jetbrains.kotlinx.jupyter.api.KernelLoggerFactory
import org.jetbrains.kotlinx.jupyter.api.Notebook
import org.jetbrains.kotlinx.jupyter.api.SessionOptions
import org.jetbrains.kotlinx.jupyter.api.ThrowableRenderersProcessor
import org.jetbrains.kotlinx.jupyter.api.outputs.DisplayHandler
import org.jetbrains.kotlinx.jupyter.codegen.ClassAnnotationsProcessor
import org.jetbrains.kotlinx.jupyter.codegen.FieldsProcessorInternal
import org.jetbrains.kotlinx.jupyter.codegen.FileAnnotationsProcessor
import org.jetbrains.kotlinx.jupyter.codegen.ResultsRenderersProcessor
import org.jetbrains.kotlinx.jupyter.codegen.TextRenderersProcessorWithPreventingRecursion
import org.jetbrains.kotlinx.jupyter.execution.ColorSchemeChangeCallbacksProcessor
import org.jetbrains.kotlinx.jupyter.execution.InterruptionCallbacksProcessor
import org.jetbrains.kotlinx.jupyter.libraries.LibrariesProcessor
import org.jetbrains.kotlinx.jupyter.libraries.LibrariesScanner
import org.jetbrains.kotlinx.jupyter.libraries.LibraryResourcesProcessor
import org.jetbrains.kotlinx.jupyter.magics.CompoundCodePreprocessor
import org.jetbrains.kotlinx.jupyter.repl.embedded.InMemoryReplResultsHolder
import org.jetbrains.kotlinx.jupyter.repl.execution.AfterCellExecutionsProcessor
data class SharedReplContext(
val loggerFactory: KernelLoggerFactory,
val classAnnotationsProcessor: ClassAnnotationsProcessor,
val fileAnnotationsProcessor: FileAnnotationsProcessor,
val fieldsProcessor: FieldsProcessorInternal,
val renderersProcessor: ResultsRenderersProcessor,
val textRenderersProcessor: TextRenderersProcessorWithPreventingRecursion,
val throwableRenderersProcessor: ThrowableRenderersProcessor,
val codePreprocessor: CompoundCodePreprocessor,
val resourcesProcessor: LibraryResourcesProcessor,
val librariesProcessor: LibrariesProcessor,
val librariesScanner: LibrariesScanner,
val notebook: Notebook,
val beforeCellExecutionsProcessor: ExtensionsProcessor>,
val shutdownExecutionsProcessor: ExtensionsProcessor>,
val afterCellExecutionsProcessor: AfterCellExecutionsProcessor,
val evaluator: InternalEvaluator,
val baseHost: BaseKernelHost,
val internalVariablesMarkersProcessor: InternalVariablesMarkersProcessor,
val interruptionCallbacksProcessor: InterruptionCallbacksProcessor,
val colorSchemeChangeCallbacksProcessor: ColorSchemeChangeCallbacksProcessor,
val displayHandler: DisplayHandler,
val inMemoryReplResultsHolder: InMemoryReplResultsHolder,
val sessionOptions: SessionOptions,
val currentClasspathProvider: ClasspathProvider,
)