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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
metadata
Additional metadata stored with the cell.
Note: should always be an object literal (e.g. LSPObject)