laburnum 1.17.3

An LSP framework for building language servers and compilers, powered by an incremental query tree with content-addressed storage, task-based dataflow, and parallel queries.
// Copyright Two Neutron Stars Incorporated and contributors
// SPDX-License-Identifier: BlueOak-1.0.0

//! First-party partition-key idents, as a frozen known-idents table.
//!
//! Every built-in partition's `PartitionKey::KEY` references one of these
//! `const Spanned<Ident>` values, so the key text is recoverable through the
//! normal span path. The table is registered under
//! [`LABURNUM_INTERNAL_KNOWN_IDENTS_FILE_ID`](crate::LABURNUM_INTERNAL_KNOWN_IDENTS_FILE_ID)
//! in [`SourceCache::new`](crate::SourceCache).
//!
//! It also carries `symbolique`'s partition keys: `symbolique` cannot register
//! its own frozen source (laburnum does not depend on it), and the two crates
//! are used together, so their keys live here and `symbolique` references these
//! consts directly.

crate::known_idents::known_idents_internal! {
  {
    CLIENTS = "$clients",
    DIAGNOSTICS = "$diagnostics",
    DOCUMENT_FOLDING_RANGE = "$fold_range",
    DOCUMENT_SYMBOLS = "$doc_symbols",
    SYMBOL_REFERENCES = "$sym_refs",
    TEXT_DOCUMENT_POSITION_INDEX = "$pos_idx",
    WORK_DONE_PROGRESS = "$progress",
    WORKSPACE = "$workspace",
    WORKSPACE_SYMBOLS = "$ws_symbols",
    SYMBOLIQUE_FILE_SYMBOLS = "$sq_file",
    SYMBOLIQUE_FILE_SYMBOL_INDEX = "$sq_file_idx",
    SYMBOLIQUE_RESOLUTION = "$sq_resolve",
    SYMBOLIQUE_SYMBOLS = "$sq_syms",
    SYMBOLIQUE_LINKED_SYMBOLS = "$sq_linked",
    SYMBOLIQUE_LINKED_SYMBOL_INDEX = "$sq_linked_idx",
    SYMBOLIQUE_MERGED_SYMBOLS = "$sq_merged",
    SYMBOLIQUE_MERGED_SYMBOL_INDEX = "$sq_merged_idx",
  }
}