pub(super) fn object_kind_to_symbol_kind(kind: ObjectKind) -> SymbolKindExpand description
Map an ObjectKind to an LSP SymbolKind.
LSP has no SQL-specific symbol kinds, so we pick the closest semantic match:
| ObjectKind | SymbolKind | Rationale |
|---|---|---|
| Table | STRUCT | Structured row data |
| View | FUNCTION | Computed from a query |
| MaterializedView | CLASS | Persistent computed relation |
| Source | INTERFACE | External data contract |
| Sink | MODULE | Data export target |
| Secret | CONSTANT | Opaque stored value |
| Connection | NAMESPACE | Named config grouping |