Module Cobol_lsp

module TYPES : sig ... end
include module type of TYPES with type extensions = TYPES.extensions
type extensions = TYPES.extensions = {
  1. alternate_request_handers : Cobol_lsp__.Lsp_request.TYPES.alternate_handler list;
}
val default_extensions : extensions
val run : platform:Cobol_common.Platform.TYPES.platform -> config:Cobol_lsp__.Lsp_types.lsp_config -> extensions:extensions -> (unit, string) Stdlib.result

run ~platform ~cache_store_for ~config ~extensions runs the server.

cache_store_for is how a cache directory is opened. An application with no file-system at hand passes Superbol_cache.Store.unavailable, which disables caching: every lookup misses and nothing is stored.

Modules and functions exported for extensibility purposes

module Types : sig ... end

Definitions of module aliases and helper functors

module Server : sig ... end
module Project : sig ... end
module Project_cache : sig ... end
module Document : sig ... end
module Diagnostics : sig ... end
module Request : sig ... end
module Lookup : sig ... end
module Utils : sig ... end
module Error : sig ... end

Functions that always raise Jsonrpc.Response.Error.E, with customizable messages.

module Platform : sig ... end
module IO : sig ... end

Simple communication functions for the LSP server to send an receive json RPC messages.

Modules and functions exported for testing purposes

module INTERNAL : sig ... end