Expand description
§Hover Interface
Type definitions for the Hover language feature. LSP-shaped DTOs.
Layout (one export per file, file name = identity):
Position::Struct- zero-based line + character offset.Range::Struct-start..endPosition::Structpair.HoverRequest::Struct- inbound request DTO.HoverContent::Enum-PlainText/Markdown/Markuppayload.HoverResponse::Struct- outbound response DTO withcontentslist and optionalRange::Struct.
Modules§
- Hover
Content - Tagged hover content payload. Plain-text and Markdown are the
common shapes;
Markupcarries an optional language hint for syntax-highlighted code blocks. - Hover
Request - Inbound hover request DTO: document URI + cursor position.
- Hover
Response - Outbound hover response DTO: ordered list of
HoverContent::Enumplus an optionalRange::Structthe hover applies to. Range is omitted in serialised form when absent. - Position
- LSP-compatible position: zero-based line + character offset.
- Range
- Inclusive document range bounded by a start and end
Position::Struct. Half-open at the end per LSP convention.