Skip to main content

hover_at

Function hover_at 

Source
pub fn hover_at(
    snapshot: &SemanticSnapshot,
    offset: TextSize,
) -> Option<HoverInfo>
Expand description

Resolves hover information at one source offset.

Args: snapshot: Immutable semantic snapshot for one document version. offset: Source offset queried by the editor host.

Returns: Hover information for the matching group or task item.