package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.1.8.8.16.tbz
sha256=40e33157d83bf2c79791b50e31644c070803f9cba1c559ddc00d01a2d01d0f42
sha512=85bf5986091325df085e6b83056b05d37e82e2eb0f2db47bf46b0380ce23129f5d2139bf25ae75a52bff5c42868a2212bbaf6c888ce91dac55e814f146e2c89a

doc/coq-lsp.fleche/Fleche/Theory/Request/index.html

Module Theory.RequestSource

Sourcetype request =
  1. | FullDoc of {
    1. uri : Lang.LUri.File.t;
    }
  2. | PosInDoc of {
    1. uri : Lang.LUri.File.t;
    2. point : int * int;
    3. version : int option;
    4. postpone : bool;
    }
Sourcetype t = {
  1. id : int;
  2. request : request;
}
Sourcetype action =
  1. | Now of Doc.t
  2. | Postpone
  3. | Cancel
Sourceval 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"

Sourceval remove : t -> unit

Removes the request from the list of things to wake up

OCaml

Innovation. Community. Security.