Cobol_lsp.Diagnosticsmodule DIAG = Cobol_common.Diagnosticsmodule TYPES : sig ... endinclude module type of TYPES with type diagnostics = TYPES.diagnosticstype diagnostics = TYPES.diagnosticstype t = diagnosticsnormalize_uri uri designates the same file as uri, spelled as the keys of the diagnostics that the functions below give. URIs of a same file may differ (e.g. in the case of a Windows drive letter): those of documents should be normalized before being looked up in such maps.
val translate_one :
?focus_on_main_doc:bool ->
rootdir:string ->
uri:Lsp.Uri.t ->
Cobol_common.Diagnostics.t ->
diagnosticsval translate :
?focus_on_main_doc:bool ->
rootdir:string ->
uri:Lsp.Uri.t ->
Cobol_common.Diagnostics.Set.t ->
diagnosticsval publish : diagnostics -> unitval as_notification :
?log:bool ->
Cobol_common.Diagnostics.t ->
Lsp.Server_notification.tval as_notifications :
?log:bool ->
Cobol_common.Diagnostics.Set.t ->
Lsp.Server_notification.t list