package lsp

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

Innovation. Community. Security.