struct LSP::NotebookCell

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.

Included Modules

Defined in:

lsp/notebook_document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def document : String #

The URI of the cell's text document content.


[View source]
def document=(document : String) #

The URI of the cell's text document content.


[View source]
def execution_summary : ExecutionSummary #

[View source]
def execution_summary=(execution_summary : ExecutionSummary) #

[View source]
def kind : NotebookCellKind #

[View source]
def kind=(kind : NotebookCellKind) #

[View source]
def metadata : JSON::Any | Nil #

Additional metadata stored with the cell.


[View source]
def metadata=(metadata : JSON::Any | Nil) #

Additional metadata stored with the cell.


[View source]