package coq-lsp
-
coq-lsp.lsp
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Node : sig ... end
module Completion : sig ... end
type t = private {
uri : string;
version : int;
contents : string;
end_loc : Types.Point.t;
root : Coq.State.t;
nodes : Node.t list;
diags_dirty : bool;
completed : Completion.t;
stats : Stats.t;
Info about cumulative document stats
*)}
A Flèche document is basically a node list
, which is a crude form of a meta-data map Loc.t -> data
, where for now data
is the contents of Node.t
.
val create :
state:Coq.State.t ->
workspace:Coq.Workspace.t ->
uri:string ->
version:int ->
contents:string ->
t Coq.Protect.R.t
Note, create
calls Coq but it is not cached in the Memo.t table
Update the contents of a document, updating the right structures for incremental checking.
module Target : sig ... end
Checking targets, this specifies what we expect check to reach