1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Unified diagnostic codes, types, and catalog for Perl LSP.
//!
//! This crate consolidates three previously separate diagnostic crates:
//! - `perl-diagnostics-codes` — stable diagnostic codes, severity, and tags (now `codes` module)
//! - `perl-lsp-diagnostic-types` — diagnostic model types (Diagnostic, RelatedInformation) (now `types` module)
//! - `perl-lsp-diagnostic-catalog` — LSP metadata builders for codes (now `catalog` module)
//!
//! # Modules
//!
//! - [`codes`] — canonical `DiagnosticCode`, `DiagnosticCategory`, `DiagnosticSeverity`, `DiagnosticTag`
//! - [`types`] — `Diagnostic` and `RelatedInformation` structs; `DiagnosticSeverity` and `DiagnosticTag` are re-exported from [`codes`]
//! - [`catalog`] — LSP metadata catalog functions
//!
//! # Type unification
//!
//! `DiagnosticSeverity` and `DiagnosticTag` are single canonical types defined in [`codes`].
//! The [`types`] module re-exports them so the legacy `types::DiagnosticSeverity` import
//! path still resolves to the same underlying type.
//!
//! # Re-exports
//!
//! The crate root re-exports all public items via [`api`].
/// Diagnostic metadata catalog and LSP-facing helpers.
/// Canonical diagnostic codes, categories, severities, and tags.
/// Diagnostic payload data structures and related information types.
pub use *;