package why3find
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=435da830a513fd91ec5411c91126b763
sha512=fd8b04eb16d569c0dc9e5595a40b174d7858121b080c81d459b2f28fb3af1ebc32ef408859d5c1c5f45c61790625c027c2ecfc3d45e597943543de7212bab8d6
doc/why3find.utils/Why3findUtils/Lsp/index.html
Module Why3findUtils.LspSource
LSP Server Protocol
Establish the server or exit
Testing if the server is still running. Returns true when there is no more in/out pending messages.
Process (at most) one pending LSP message, if any (non-blocking). First, yield the server to process pending I/O. Then, process one LSP message, if any. Returns true is some request has been processed or not. This function immediately returns false when it is called during a request handler.
LSP Server Capabilities
Dynamically register a server capability. Can be unregistered mater with the returned capability.
Unregister a server capability.
LSP Request Handlers
Register a request or notification handler. Some builtin request and notifications are already registered and shall be forced updated, namely initialize, initialized, shutdown, exit and $/setTrace.
The callbacks may raise exceptions, in which case an error is reported to the client. Meaningfull exceptions are:
Not_foundrequest is not supportedInvalid_argument _request arguments are incorrectFailure _and any other exception are treated as internal error
Ignore a request or notification.