Skip to main content

hover_at

Function hover_at 

Source
pub fn hover_at(source: &str, offset: usize) -> Option<Hover>
Expand description

Return hover information for the token at offset.

Offsets are byte offsets, matching LSP’s UTF-8 internal representation after the caller converts from line/column. Trivia currently has no hover.