coq-lsp.fleche
Theory.Request
Astdump_plugin
Example_plugin
Goaldumpl_plugin
Savevo_plugin
coq-lsp.coq
coq-lsp.lang
coq-lsp.lsp
coq-lsp.petanque
coq-lsp.plugin
fleche_waterproof
petanque_json
type request =
| FullDoc
| PosInDoc of {
point : int * int;
version : int option;
}
type t = {
id : int;
uri : Lang.LUri.File.t;
postpone : bool;
request : request;
type action =
| Now of Doc.t
| Postpone
| Cancel
val add : t -> action
Add a request to be served; returns Postpone if request is added to the queue, Now doc if the request is available. Cancel means "we will never be able to serve this"
Postpone
Now doc
Cancel
val remove : t -> unit
Removes the request from the list of things to wake up