pub fn ssr_from_comment(
db: &RootDatabase,
frange: FileRange,
) -> Option<(MatchFinder<'_>, TextRange)>
Expand description
Attempts to build an SSR MatchFinder from a comment at the given file range. If successful, returns the MatchFinder and a TextRange covering comment.