aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ssr/src/nester.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* SSR: Refactor to not rely on recursive search for nesting of matchesDavid Lattimore2020-07-241-0/+98
Previously, submatches were handled simply by searching in placeholders for more matches. That only works if we search all nodes in the tree recursively. In a subsequent commit, I intend to make search not always be recursive recursive. This commit prepares for that by finding all matches, even if they overlap, then nesting them and removing overlapping matches.