Function hir_expand::span_for_offset

source ยท
pub fn span_for_offset(
    db: &dyn ExpandDatabase,
    exp_map: &ExpansionSpanMap,
    offset: TextSize,
) -> (FileRange, SyntaxContextId)
Expand description

Looks up the span at the given offset.