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
38
39
40
// SPDX-License-Identifier: MIT
//! A fast, lightweight YAML language server implementing the
//! [Language Server Protocol](https://microsoft.github.io/language-server-protocol/).
//!
//! This crate provides the library modules used by the `rlsp-yaml` binary.
//! See the [repository](https://github.com/chdalski/rlsp) for usage and configuration.
/// Document analysis features: folding, selection, semantic tokens, and symbols.
/// Completion item provider.
/// Decorators: code lenses, color highlights, and document links.
/// In-memory document store (tracks open documents and parsed ASTs).
/// Editing features: code actions, formatting, and on-type formatting.
/// Hover documentation provider.
/// Shared helpers for converting parser positions to LSP positions.
pub
/// Navigation features: find-references and rename.
/// YAML document parsing utilities used by LSP handlers.
/// Scalar type inference helpers for YAML 1.2 Core schema.
/// JSON Schema loading, resolution, and completion data.
/// JSON Schema validation against loaded schemas.
/// LSP server implementation (request/notification handlers).
/// Diagnostic validation: suppression and validators.
/// Shared test helpers (parse, test URIs) used across crate-internal test modules.