Expand description
UI-agnostic language intelligence data models.
This module provides a small set of typed schemas that hosts can use to represent common “code editor intelligence” surfaces in a consistent way across UIs:
- references result collections
- call hierarchy (incoming/outgoing)
- type hierarchy (supertypes/subtypes)
The core idea is that integrations (LSP, Tree-sitter, bespoke engines) can populate these
structures and store them in WorkspaceIntelligence for later consumption by UI layers.
Structs§
- Call
Hierarchy Incoming Call - A call hierarchy incoming edge (
from -> root). - Call
Hierarchy Outgoing Call - A call hierarchy outgoing edge (
root -> to). - Call
Hierarchy Result Set - A call hierarchy result set.
- Hierarchy
Item - A generic cross-file “hierarchy item” (call hierarchy / type hierarchy).
- References
Result Set - A references result collection.
- Result
SetId - Opaque id for an intelligence result set stored in a workspace.
- Type
Hierarchy Result Set - A type hierarchy result set.
- Workspace
Intelligence - Workspace-owned storage for language intelligence result sets.
Enums§
- Intelligence
Result Set - A stored intelligence result set.
- Result
SetKind - High-level kind of a stored result set.