struct

LSP::NotebookCell

Inherits JSON::Serializable < Struct < Value < Object

A notebook cell.

A cell's document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell's text document.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

document

The URI of the cell's text document content.

Source
document=(document : String)

The URI of the cell's text document content.

Source
execution_summary

Additional execution summary information if supported by the client.

Source
execution_summary=(execution_summary : ExecutionSummary)

Additional execution summary information if supported by the client.

Source
kind

The cell's kind

Source
kind=(kind : NotebookCellKind)

The cell's kind

Source
metadata

Additional metadata stored with the cell.

Source
metadata=(metadata : JSON::Any | Nil)

Additional metadata stored with the cell.

Source