Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix handling of whitespace when applying SSR within macro expansions. | David Lattimore | 2020-06-27 | 1 | -16/+17 |
| | | | | 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 of whole macro calls | David Lattimore | 2020-06-22 | 1 | -1/+9 |
| | | | | 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 patterns | David Lattimore | 2020-06-22 | 1 | -0/+55 |
Part of #3186 |