JupyterImportProcessor

class JupyterImportProcessor(notebook: Notebook) : JavaScriptProcessor

replace virtual package (@jupyter) with kotlin variables

import { foo } from '@jupyter';

will transform to

const foo = "bar";

foo must be basic type or implement DisplayResult interface

Constructors

Link copied to clipboard
constructor(notebook: Notebook)

Functions

Link copied to clipboard
open override fun process(program: Program, context: JavascriptProcessContext)

TODO: