coq-lsp.fleche
Theory.Request
Astdump_plugin
Example_plugin
Explain_errors
Goaldumpl_plugin
Savevo_plugin
Unidiff_plugin
coq-lsp.coq
coq-lsp.lang
coq-lsp.lsp
coq-lsp.petanque
coq-lsp.plugin
coq-lsp.request
coq-lsp.serlib
fleche_waterproof
petanque_json
petanque_shell
serlib_cc
serlib_extraction
serlib_firstorder
serlib_funind
serlib_ltac
serlib_ltac2
serlib_micromega
serlib_number_string_notation_plugin
serlib_ring
serlib_ssr
serlib_ssrmatching
serlib_tauto
serlib_zify
type request =
| Immediate
| 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