package coq-lsp

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

    Ast of node

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

    (Full) State of node

    *)
  4. diags : Types.Diagnostic.t list;
    (*

    Diagnostics associated to the node

    *)
  5. memo_info : string;
}
module Completion : sig ... end
type t = private {
  1. uri : string;
  2. version : int;
  3. contents : string;
  4. end_loc : int * int * int;
  5. root : Coq.State.t;
  6. nodes : node list;
  7. diags_dirty : bool;
  8. completed : Completion.t;
}
val create : state:Coq.State.t -> workspace:Coq.Workspace.t -> uri:string -> version:int -> contents:string -> t
val bump_version : version:int -> contents:string -> t -> t
val check : ofmt:Stdlib.Format.formatter -> doc:t -> fb_queue:Coq.Message.t list Stdlib.ref -> t
OCaml

Innovation. Community. Security.