package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Types.NotebookDocumentChangeEventSource

Sourcetype textContent = {
  1. document : VersionedTextDocumentIdentifier.t;
  2. changes : TextDocumentContentChangeEvent.t list;
}
Sourceval create_textContent : document:VersionedTextDocumentIdentifier.t -> changes:TextDocumentContentChangeEvent.t list -> textContent
Sourcetype structure = {
  1. array : NotebookCellArrayChange.t;
  2. didOpen : TextDocumentItem.t list option;
  3. didClose : TextDocumentIdentifier.t list option;
}
Sourceval create_structure : array:NotebookCellArrayChange.t -> ?didOpen:TextDocumentItem.t list -> ?didClose:TextDocumentIdentifier.t list -> unit -> structure
Sourcetype cells = {
  1. structure : structure option;
  2. data : NotebookCell.t list option;
  3. textContent : textContent list option;
}
Sourceval create_cells : ?structure:structure -> ?data:NotebookCell.t list -> ?textContent:textContent list -> unit -> cells
Sourcetype t = {
  1. cells : cells option;
  2. metadata : Import.Json.Object.t option;
}
Sourceval create : ?cells:cells -> ?metadata:Import.Json.Object.t -> unit -> t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
Sourceval t_of_yojson : Yojson.Safe.t -> t
Sourceval yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.