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.18.tbz
sha256=0f6d12e00d145c36a17c5a6661bae83ae9e86b4cb09638d1d1a70f42abfdfdde
sha512=33200cfa5d9c44f8af7fd26fd4aca85a11b5639a73080a1f002993be1594cbbef6447aa6116a2c9527d2734d34c718c1adf51ee3aff1c8efbfb86d2cb4059335

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.