struct

LSP::NotebookDocument

Inherits JSON::Serializable < Struct < Value < Object

A notebook document

Constructors

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

Instance methods

cells

The cells of a notebook.

Source
cells=(cells : Array(NotebookCell))

The cells of a notebook.

Source
metadata

Additional metadata stored with the notebook document.

Source
metadata=(metadata : JSON::Any)

Additional metadata stored with the notebook document.

Source
notebook_type

The type of the notebook.

Source
notebook_type=(notebook_type : String)

The type of the notebook.

Source
uri

The notebook document's uri.

Source
uri=(uri : String)

The notebook document's uri.

Source
version

The version number of this document (it will increase after each change, including undo/redo).

Source
version=(version : Int32)

The version number of this document (it will increase after each change, including undo/redo).

Source