aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ssr/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* SSR: Improve error reporting when a test failsDavid Lattimore2020-07-031-15/+15
|
* SSR: Extract error code out to a separate moduleDavid Lattimore2020-07-031-9/+3
| | | | | This is to make reusing it outside of parsing easier in a subsequent change.
* Structured search debuggingDavid Lattimore2020-07-011-5/+157
|
* Fix handling of whitespace when applying SSR within macro expansions.David Lattimore2020-06-271-1/+2
| | | | I originally did replacement by passing in the full file text. Then as some point I thought I could do without it. Turns out calling .text() on a node coming from a macro expansion isn't a great idea, especially when you then try and use ranges from the original source to cut that text. The test I added here actually panics without the rest of this change (sorry I didn't notice sooner).
* SSR: Allow matching within macro callsDavid Lattimore2020-06-271-1/+17
|
* SSR: Allow matching of whole macro callsDavid Lattimore2020-06-221-8/+10
| | | | Matching within macro calls is to come later and matching of macro calls within macro calls later still.
* Allow SSR to match type references, items, paths and patternsDavid Lattimore2020-06-221-0/+120
Part of #3186