diagnostic.ml
Example_plugin
coq-lsp.coq
coq-lsp.fleche
coq-lsp.lang
coq-lsp.lsp
coq-lsp.plugin
fleche_waterproof
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 (************************************************************************) (* Flèche => document manager: Language Support *) (* Copyright 2019-2023 Inria -- Dual License LGPL 2.1 / GPL3+ *) (* Written by: Emilio J. Gallego Arias *) (************************************************************************) module Extra = struct type t = | FailedRequire of { prefix : Libnames.qualid option ; refs : Libnames.qualid list } end type t = { range : Range.t ; severity : int ; message : Pp.t ; extra : Extra.t list option } let is_error { severity; _ } = severity = 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
(************************************************************************) (* Flèche => document manager: Language Support *) (* Copyright 2019-2023 Inria -- Dual License LGPL 2.1 / GPL3+ *) (* Written by: Emilio J. Gallego Arias *) (************************************************************************) module Extra = struct type t = | FailedRequire of { prefix : Libnames.qualid option ; refs : Libnames.qualid list } end type t = { range : Range.t ; severity : int ; message : Pp.t ; extra : Extra.t list option } let is_error { severity; _ } = severity = 1