FileAnnotationsProcessor

Interface responsible for handling file level annotations inside a notebook cell. This is e.g., annotations like @file:DependsOn("..."), @file:Repository("...") and @file:CompilerArgs("...").

This interface is a subcomponent of org.jetbrains.kotlinx.jupyter.repl.ReplForJupyter.

Functions

Link copied to clipboard
abstract fun process(context: ScriptConfigurationRefinementContext, host: KotlinKernelHost): ResultWithDiagnostics<ScriptCompilationConfiguration>
Link copied to clipboard
abstract fun register(handler: FileAnnotationHandler)