//! Per-document state cached by the LSP server.
//!
//! Every time the client sends a `didOpen`, `didChange`, or `didSave`
//! notification the server re-runs analysis and stores a fresh
//! [`DocumentState`]. Subsequent `textDocument/completion`, `hover`, and
//! `definition` requests read from this cache rather than re-analysing.
use ;
/// Snapshot of a single `.nautilus` document.