Expand description
Optional LSP and SCIP semantic enrichment models. UI-agnostic LSP enrichment and JSON SCIP import models.
Structs§
- LspCapabilities
- Feature set advertised synchronously by an LSP backend.
- LspDiagnostic
- Raw version-tagged LSP diagnostic.
- LspEnrichment
- Complete enrichment snapshot tied to one document version.
- LspRequest
Id - Opaque caller/backend request identifier used for cancellation.
- Noop
LspBackend - Backend whose capabilities are all false and whose methods use trait defaults.
- Scip
Document Index - One imported SCIP document and its local semantic records.
- Scip
Navigation Link - Cross-document navigation from one reference to a definition.
- Scip
Occurrence - One definition or reference occurrence of a canonical SCIP symbol.
- Scip
Project Index - JSON-deserializable SCIP-like project index.
- Scip
Project Metadata - Project provenance stored with SCIP import data.
- Scip
Project Summary - Converted project summaries plus cross-document navigation links.
- Scip
Relation - Local relation between two canonical SCIP symbol strings.
- Scip
Symbol - Imported SCIP symbol descriptor.
- Semantic
Document Symbol - Language-server/SCIP symbol payload before conversion to local symbol IR.
- Semantic
Reference - Directed semantic relation between two summary-local symbol IDs.
Enums§
- LspError
- Typed failure from an LSP backend or adapter boundary.
- Scip
Import Error - Failure while importing the compact SCIP JSON schema.
- Scip
Occurrence Role - Whether a SCIP occurrence defines or references its symbol.
Traits§
- LspBackend
- Synchronous, UI-agnostic interface for optional language-server enrichment.
Functions§
- collect_
lsp_ enrichment - Collects one synchronous enrichment snapshot from advertised capabilities.
- import_
scip_ json_ str - Deserializes the crate’s compact SCIP JSON schema.
- lsp_
diagnostics_ to_ diagnostics - Converts current-version LSP diagnostics into local diagnostics.
- lsp_
symbols_ to_ code_ symbols - Converts semantic symbols into document-local symbols sourced as LSP.
- merge_
code_ file_ summaries - Merges symbol and edge payloads under caller-supplied document metadata.
- scip_
document_ to_ summary - Converts one SCIP document into the local symbol/edge representation.
- scip_
project_ to_ summary - Converts every imported document and builds cross-file navigation.
- scip_
symbols_ to_ code_ symbols - Converts semantic symbols into document-local symbols sourced as SCIP.
- semantic_
references_ to_ edges - Copies semantic references into source-agnostic symbol edges.