Cobol_lsp.Servermodule TYPES : sig ... endinclude module type of TYPES
with type sub_state = TYPES.sub_state
and type pending_tasks = TYPES.pending_tasks
and type registry = TYPES.registry
and type state = TYPES.state
and type exit_status = TYPES.exit_status
and type 'a error = 'a TYPES.errortype registry = TYPES.registry = {projects : Cobol_lsp__.Lsp_project.SET.t;docs : Cobol_lsp__.Lsp_document.TYPES.document Stdlib__Map.Make(Lsp.Uri).t;indirect_diags : Lsp.Types.Diagnostic.t list Stdlib__Map.Make(Lsp.Uri).t
Stdlib__Map.Make(Lsp.Uri).t;pending_tasks : pending_tasks;sub_state : sub_state;params : Cobol_lsp__.Lsp_types.params;}and sub_state = TYPES.sub_stateand pending_tasks = TYPES.pending_taskstype state = TYPES.state = | NotInitialized of Cobol_lsp__.Lsp_types.config| Initialized of Cobol_lsp__.Lsp_types.params| Running of registry| ShuttingDown| Exit of exit_statusand exit_status = TYPES.exit_statustype 'a error = 'a TYPES.error = | InvalidStatus of state| UnhandledRequest of 'a Lsp.Client_request.t| UnknownRequest of stringtype t = registryval init : params:Cobol_lsp__.Lsp_types.params -> tCopybook detection is performed via project configuration (see Lsp_project.detect_copybook).
val find_document :
Lsp.Types.TextDocumentIdentifier.t ->
t ->
Cobol_lsp__.Lsp_document.TYPES.documentval jsonrpc_of_error : 'a error -> string -> Jsonrpc.Response.Error.tval get_project_config_command : Lsp.Uri.t -> t -> Yojson.Safe.tval save_project_caches : t -> unitNote: May only raise Jsonrpc.Response.Error.E