MagicsProcessor

Constructors

Link copied to clipboard
constructor(handler: LibrariesAwareMagicsHandler, parseOutCellMarker: Boolean = false)

Functions

Link copied to clipboard
open fun accepts(code: String): Boolean
Link copied to clipboard
fun codeIntervals(code: String, magicsIntervals: Sequence<CodeInterval> = magicsIntervals(code), preserveLinesEnumeration: Boolean = false): Sequence<CodeInterval>
Link copied to clipboard
fun getCleanCode(code: String, magicIntervals: Sequence<CodeInterval>): String
Link copied to clipboard
Link copied to clipboard
open override fun process(code: String, host: KotlinKernelHost): CodePreprocessor.Result
Link copied to clipboard
fun processMagics(code: String, parseOnly: Boolean = false, tryIgnoreErrors: Boolean = false): CodePreprocessor.Result