Expand description
A synchronous language server implementation.
Modules§
- A synchronous debug adaptor server implementation.
- A synchronous LSP server implementation.
- The request-response queue for the LSP server.
- Transport layer for LSP messages.
Structs§
- Connection is just a pair of channels of LSP messages.
- The builder pattern for the language server.
- The language server driver.
- The host for the language server, or known as the LSP client.
- The root of the language server host. Will close connection when dropped.
- A protocol error happened during communication through LSP or DAP.
- A request ID in the Language Server Protocol.
- The common error type for language servers. A response from the server.
- The sender of the language server.
- The sender of the language server.
- A Lsp client with typed service
S
.
Enums§
- The error codes defined by the JSON RPC.
- Failure of decoding happened during communication through LSP or DAP.
- The common message type for the language server.
- The kind of the message.
- An enum to represent the state of the language server.
Traits§
- Gets the kind of the message.
- A trait that initializes the language server.
- A trait that defines the hook for the language server.
Functions§
- Creates an internal error.
- Creates an invalid params error.
- Creates an invalid request error.
- A helper function to create a
LspResponseFuture
- A helper function to create a
LspResponseFuture
- A helper function to create a
LspResponseFuture
- Creates a method not found error.
- Creates a not initialized error.
Type Aliases§
- The common response future type for language servers.
- The untyped connect rx for language servers.
- The untyped connect tx for language servers.
- The language server builder serving DAP.
- The common message type for the DAP protocol.
- The common event type for language servers.
- The language server builder serving LSP.
- The common message type for the LSP protocol.
- A future that may be rejected before actual started.
- The common result type for language servers.
- A future that may be done in place or not.
- A future that could be rejected by common error in
LspResponseFuture
. - The result of a scheduled response which could be finally caught by
schedule_tail
.