Document.TYPEStype document = {project : Superbol_project__.Project.TYPES.project;textdoc : Lsp.Text_document.t;copybook : bool;artifacts : Cobol_parser.Outputs.artifacts;semtoks : Superbol_project.Analysis.semantic_tokens Stdlib.Lazy.t option;checked : checked_doc option;rewinder : rewinder option;recorder : Superbol_cache.Recorder.t 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, Cobol_common.Behaviors.eidetic)
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.
Persistent representation of LSP-specific data (for caching). The analysis results are cached separately, as a Superbol_project.Analysis.for_lsp, so that they can be shared with other front-ends.