struct LSP::NotebookDocument

Overview

A notebook 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 cells : Array(NotebookCell) #

The cells of a notebook.


[View source]
def cells=(cells : Array(NotebookCell)) #

The cells of a notebook.


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

Additional metadata stored with the notebook document.


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

Additional metadata stored with the notebook document.


[View source]
def notebook_type : String #

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

[View source]
def uri : String #

The notebook document's uri.


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

The notebook document's uri.


[View source]
def version : Int32 #

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


[View source]
def version=(version : Int32) #

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


[View source]