Expand description
Stateless, protocol-neutral language intelligence for one source snapshot.
Structs§
- Completion
Catalog - Explicit, caller-owned catalog data for one completion request.
- Completion
Catalog Entry - Caller-owned icon metadata available to completion.
- Completion
Item - One literal, protocol-neutral source completion.
- Completion
Output - Completion result for one caller-owned document version.
- Diagnostics
Output - Compiler diagnostics for one caller-owned document version.
- Document
Symbol - One hierarchical source declaration.
- Document
Symbols Output - Hierarchical document symbols for one caller-owned document version.
- Hover
- Plain-text semantic information for one source token.
- Hover
Output - Hover result for one caller-owned document version.
- Text
Edit - A source replacement interpreted against the unchanged input snapshot.
Enums§
- Completion
Kind - Semantic category of one completion item.
- Document
Symbol Kind - Semantic category of a document symbol.
- Hover
Kind - Semantic category described by hover information.
- Intelligence
Error - 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.