Package-level declarations

Types

Link copied to clipboard
interface BaseKernelHost
Link copied to clipboard
data class CellErrorMetaData(val executionCount: ExecutionCount, val linesOfUserSourceCode: Int)

Helper class for tracking metadata needed to correctly enhance errors that happens in user code as a consequence of executing a cell.

Link copied to clipboard
data class CheckCompletenessResult(val isComplete: Boolean = true)
Link copied to clipboard
fun interface ClasspathProvider
Link copied to clipboard
abstract class CompletionResult
Link copied to clipboard
class EvalData(val executionCount: ExecutionCount, val rawCode: String)
Link copied to clipboard
class EvalRequestData(val code: Code, val executionCount: ExecutionCount = ExecutionCount.NO_COUNT, val storeHistory: Boolean = true, val isSilent: Boolean = false)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ListErrorsResult(val code: String, val errors: Sequence<ScriptDiagnostic> = emptySequence())
Link copied to clipboard
data class MavenRepositoryCoordinates(val coordinates: String)
Link copied to clipboard
data class OutputConfig(var captureOutput: Boolean = true, var captureBufferTimeLimitMs: Long = 100, var captureBufferMaxSize: Int = 1000, var cellOutputMaxSize: Int = 100000, var captureNewlineBufferSize: Int = 100)
Link copied to clipboard
data class ReplConfig(val mavenRepositories: List<MavenRepositoryCoordinates> = listOf(), val libraryResolver: LibraryResolver? = null, val httpUtil: LibraryHttpUtil, val resolutionInfoProvider: ResolutionInfoProvider, val kernelRunMode: KernelRunMode, val scriptReceivers: List<Any> = emptyList())
Link copied to clipboard
interface ReplForJupyter
Link copied to clipboard
interface ReplOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Creates new ResolutionInfoProviders given other REPL components such as KernelLoggerFactory

Link copied to clipboard
@Serializable
data class SerializedScriptSource(val fileName: String, val text: String)
Link copied to clipboard
Link copied to clipboard
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<ExecutionCallback<*>>, val shutdownExecutionsProcessor: ExtensionsProcessor<ExecutionCallback<*>>, 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)
Link copied to clipboard
data class ShutdownEvalResult(val resultValue: Any?, val metadata: EvaluatedSnippetMetadata = EvaluatedSnippetMetadata.EMPTY)

Functions

Link copied to clipboard
Link copied to clipboard
fun renderValue(notebook: MutableNotebook, executor: ExecutionHost, value: Any?, id: String?): DisplayResult?