package coq-lsp
-
coq-lsp.lsp
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type node = {
loc : Loc.t;
ast : Coq.Ast.t option;
Ast of node
*)state : Coq.State.t;
(Full) State of node
*)diags : Types.Diagnostic.t list;
Diagnostics associated to the node
*)messages : Coq.Message.t list;
memo_info : string;
}
module Completion : sig ... end
type t = private {
uri : string;
version : int;
contents : string;
end_loc : int * int * int;
root : Coq.State.t;
nodes : node list;
diags_dirty : bool;
completed : Completion.t;
}
val create :
state:Coq.State.t ->
workspace:Coq.Workspace.t ->
uri:string ->
version:int ->
contents:string ->
t
val check :
ofmt:Stdlib.Format.formatter ->
doc:t ->
fb_queue:Coq.Message.t list Stdlib.ref ->
t