aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/algo.rs
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to a new rowan borrowing node API.Dawer2021-05-061-1/+1
|
* Remove SyntaxRewriter::from_fnLukas Wirth2021-04-231-16/+3
|
* remove more redundant clones (clippy::redundant_clone())Matthias Krüger2021-03-211-2/+2
|
* Upgrade rowanAleksey Kladov2021-03-161-17/+18
| | | | Notably, new rowan comes with support for mutable syntax trees.
* Use upstream cov-markLaurențiu Nicola2021-03-081-14/+12
|
* :arrow_up: rowanAleksey Kladov2021-01-191-3/+4
|
* Merge #7288bors[bot]2021-01-151-1/+1
|\ | | | | | | | | | | | | | | | | | | 7288: Handle self/super/crate in PathSegment as NameRef r=matklad a=Veykril Wrapping self/super/crate in NameRef as per https://github.com/rust-analyzer/rust-analyzer/pull/7261#issuecomment-760023172 Co-authored-by: Lukas Wirth <[email protected]>
| * Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-1/+1
| |
* | Remove useless wrapperAleksey Kladov2021-01-151-5/+1
|/
* Fixed typos in local bindingsVincent Esche2021-01-091-2/+2
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-1/+1
|
* Fix accidently quadratic syntax rewriterAleksey Kladov2020-12-101-8/+14
| | | | | | Switching from SyntaxNode to GreenNode is a costly operation (b/c dereferencing a synax ptr in `with_green` is linear), so we should avoid that.
* Profile completions betterKirill Bulatov2020-11-271-0/+13
|
* Merge #6512bors[bot]2020-11-091-36/+89
|\ | | | | | | | | | | | | | | | | | | | | 6512: Don't replace parent node when inserting as first child in algo::diff r=SomeoneToIgnore a=Veykril This makes the diff a bit more detailed. See https://github.com/rust-analyzer/rust-analyzer/pull/6287#issuecomment-723889267 for context cc @SomeoneToIgnore Co-authored-by: Lukas Wirth <[email protected]>
| * Don't replace parent node when inserting as first child in algo::diffLukas Wirth2020-11-091-36/+89
| |
* | Fix debug for SyntaxRewriterAleksey Kladov2020-11-091-1/+4
|/
* Do insertion lookahead in algo::diffLukas Wirth2020-10-261-40/+120
|
* Remove InsertPos::Before variant in Syntax RewriterLukas Wirth2020-10-241-13/+20
|
* Support insertion in SyntaxRewriterLukas Wirth2020-10-241-24/+134
|
* algo::diff testsLukas Wirth2020-10-221-2/+326
|
* Rewrite algo::diff to support insertion and deletionLukas Wirth2020-10-221-23/+64
|
* Omit lenses for not runnable doctestsKirill Bulatov2020-08-221-1/+1
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-0/+406