Skip to main content

Module language_intelligence

Module language_intelligence 

Source
Expand description

Stateless, protocol-neutral language intelligence for one source snapshot.

Structs§

CompletionCatalog
Explicit, caller-owned catalog data for one completion request.
CompletionCatalogEntry
Caller-owned icon metadata available to completion.
CompletionItem
One literal, protocol-neutral source completion.
CompletionOutput
Completion result for one caller-owned document version.
DiagnosticsOutput
Compiler diagnostics for one caller-owned document version.
DocumentSymbol
One hierarchical source declaration.
DocumentSymbolsOutput
Hierarchical document symbols for one caller-owned document version.
Hover
Plain-text semantic information for one source token.
HoverOutput
Hover result for one caller-owned document version.
TextEdit
A source replacement interpreted against the unchanged input snapshot.

Enums§

CompletionKind
Semantic category of one completion item.
DocumentSymbolKind
Semantic category of a document symbol.
HoverKind
Semantic category described by hover information.
IntelligenceError
Operational failure at the language-intelligence input boundary.

Constants§

MAX_COMPLETION_ICONS
Maximum number of caller-owned icons accepted for one completion request.
SCHEMA_VERSION
Portable language-intelligence schema version implemented by this crate.

Functions§

completion
Computes context-aware completion for one complete UTF-8 source snapshot.
diagnostics
Compiles UTF-8 Stack source and returns portable diagnostics for one snapshot.
diagnostics_bytes
Decodes and compiles Stack source bytes for one snapshot.
document_symbols
Builds hierarchical symbols for one complete UTF-8 source snapshot.
hover
Resolves plain-text semantic hover for one complete UTF-8 source snapshot.