CodeCell

interface CodeCell

Single evaluated notebook cell representation

Properties

Link copied to clipboard
abstract val code: String

Cell code

Link copied to clipboard

Ordered list of snippet declarations

Link copied to clipboard

Cell displays

Link copied to clipboard
abstract val id: Int

Displayed cell ID

Link copied to clipboard
abstract val internalId: Int

Internal cell ID which is used to generate internal class names and result fields

Link copied to clipboard
abstract val notebook: Notebook

Reference to the notebook instance

Link copied to clipboard
abstract val preprocessedCode: String

Cell code after magic preprocessing

Link copied to clipboard
abstract val prevCell: CodeCell?

Previously evaluated cell

Link copied to clipboard
abstract val result: Any?

Cell result value

Link copied to clipboard
abstract val streamOutput: String

Cell standard output