Cobol_lsp.TypesDefinitions of module aliases and helper functors
module CUs = Cobol_unit.Collections.SETmodule CUMap = Cobol_unit.Collections.MAPmodule URIMap : sig ... endtype registry = private {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 : params;}type state = | NotInitialized of Cobol_lsp__.Lsp_server.TYPES.config| Initialized of params| Running of registry| ShuttingDown| Exit of exit_statustype 'a error = | InvalidStatus of state| UnhandledRequest of 'a Lsp.Client_request.t| UnknownRequest of stringtype element_at_position = {element_at_position : element_in_context option;enclosing_compilation_unit_name : string option;}Information returned by Lookup.element_at_position.
and element_in_context = | Data_name of Cobol_ptree.qualname| Data_full_name of Cobol_ptree.qualname| Data_item of {full_qn : Cobol_ptree.qualname option;def_loc : Cobol_common.Srcloc.TYPES.srcloc;}| Proc_name of {qn : Cobol_ptree.qualname;in_section : Cobol_unit.Types.procedure_section option;}type name_definition = {as_paragraph : paragraph_definition option;as_item : item_definition option;}and paragraph_definition =
Cobol_ptree.paragraph Cobol_common.Srcloc.TYPES.with_locand item_definition =
Cobol_data.Types.item_definition Cobol_common.Srcloc.TYPES.with_loctype copy_operation = string Cobol_common.Srcloc.TYPES.with_locwith loc of COPY ...
type procedure_at_position = {cu : Cobol_unit.Types.cobol_unit option;proc_name : Cobol_ptree.qualname option;}type document = {project : Superbol_project__.Project.TYPES.project;textdoc : Lsp.Text_document.t;copybook : bool;artifacts : Cobol_parser.Outputs.artifacts;checked : checked_doc option;rewinder : rewinder option;parsing_diags : Cobol_parser.Diagnostics.ALL.t;typecking_diags : Cobol_typeck.Diagnostics.t;}and checked_doc = Cobol_typeck.Outputs.tand rewinder =
(Cobol_ptree.compilation_group option, Cobol_common.Behaviors.eidetic)
Cobol_parser.Outputs.output
Cobol_parser.rewinderRaised by Document.checked.
exception Internal_error of document * exn * Stdlib.Printexc.raw_backtraceRaised by Document.load and Document.update; allows keeping consistent document contents.
type cached = {doc_cache_filename : string;doc_cache_checksum : Stdlib.Digest.t;doc_cache_langid : string;doc_cache_version : int;doc_cache_pplog : Cobol_preproc.Trace.log;doc_cache_tokens : Cobol_parser.Outputs.tokens_with_locs;doc_cache_comments : Cobol_preproc.Text.comments;doc_cache_ignored : Cobol_common.Srcloc.lexloc list;doc_cache_checked : checked_doc option;doc_cache_parsing_diags : Cobol_parser.Diagnostics.ALL.t;doc_cache_typecking_diags : Cobol_typeck.Diagnostics.t;}Persistent representation (for caching)
include module type of Superbol_project.Config.TYPESinclude module type of Superbol_project.TYPEStype project = {rootdir : rootdir;config : Superbol_project__.Project_config.TYPES.config;config_filename : string;}type layout = {project_config_filename : string;Name of the TOML file that is to be found at the root of each project's directory tree.
*)relative_work_dirname : string option;Relative name of a directory where the LSP should put its working files (caches, etc). No such storage is allowed when None.
rootdir_fallback_policy : rootdir_fallback_policy;Policy to determine the root directory of projects based on individual filenames.
*)}