package coq-lsp

  1. Overview
  2. Docs
type node = {
  1. ast : Coq.Ast.t;
    (*

    Ast of node

    *)
  2. state : Coq.State.t;
    (*

    (Full) State of node

    *)
  3. memo_info : string;
}
module Completion : sig ... end
type t = private {
  1. uri : string;
  2. version : int;
  3. contents : string;
  4. root : Coq.State.t;
  5. nodes : node list;
  6. diags : Types.Diagnostic.t list;
  7. completed : Completion.t;
}
val create : state:(Coq.State.t * Loadpath.vo_path list * string list * _) -> uri:string -> version:int -> contents:string -> t
val bump_version : version:int -> text:string -> t -> t
val check : ofmt:Format.formatter -> doc:t -> fb_queue:Coq.Message.t list ref -> t