Expand description
Diagnostics for XML documents, in the shape an editor wants.
The analysis lives here rather than in the binary so it can be tested without a language-server transport in the way. An editor integration is mostly plumbing; the part worth testing is what it decides to say.
Modules§
- lsp
- The Language Server Protocol, over stdio.
Structs§
- Diagnostic
- One diagnostic.
- Position
- A position in a document, zero-based as LSP requires.
Enums§
- Severity
- How serious a diagnostic is, matching LSP’s numbering.
Functions§
- analyse
- Analyse a document and return everything worth reporting.