class

LSProtocol::NotebookCell

Inherits JSON::Serializable / Reference / 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.

@since 3.17.0

Constructors

new(document : URI | Nil, kind : NotebookCellKind | Nil, execution_summary : ExecutionSummary | Nil = nil, metadata : LSPObject | Nil = nil)
Source
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
execution_summary

Additional execution summary information if supported by the client.

Source
kind

The cell's kind

Source
metadata

Additional metadata stored with the cell.

Note: should always be an object literal (e.g. LSPObject)

Source