Vscode.Diagnostic
include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type code_target = {
value : [ `String of string | `Int of int ];
target : Uri.t;
}
type code = [
| `String of string
| `Int of int
| `Targeted of code_target
]
val message : t -> string
val range : t -> Range.t
val severity : t -> DiagnosticSeverity.t
val source : t -> string option
val code : t -> code option
val relatedInformation : t -> DiagnosticRelatedInformation.t list option
val tags : t -> DiagnosticTag.t list option
val make : ?severity:DiagnosticSeverity.t -> message:string -> Range.t -> t