class LSProtocol::NotebookCell
- LSProtocol::NotebookCell
- Reference
- Object
Overview
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
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(document : URI | Nil, kind : NotebookCellKind | Nil, execution_summary : ExecutionSummary | Nil = nil, metadata : LSPObject | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#document : URI
The URI of the cell's text document content.
-
#execution_summary : ExecutionSummary | Nil
Additional execution summary information if supported by the client.
-
#kind : NotebookCellKind
The cell's kind
-
#metadata : LSPObject | Nil
Additional metadata stored with the cell.
Constructor Detail
def self.new(document : URI | Nil, kind : NotebookCellKind | Nil, execution_summary : ExecutionSummary | Nil = nil, metadata : LSPObject | Nil = nil)
#
Instance Method Detail
def execution_summary : ExecutionSummary | Nil
#
Additional execution summary information if supported by the client.
Additional metadata stored with the cell.
Note: should always be an object literal (e.g. LSPObject)