Alexander Gonzalez
|
e57ad5456c
|
fix: Typos
|
2021-07-27 18:31:21 -04:00 |
|
Aleksey Kladov
|
188b0f96f9
|
Add more docs
|
2021-05-22 16:53:47 +03:00 |
|
Aleksey Kladov
|
73123a7550
|
internal: remove SyntaxRewriter
|
2021-05-14 16:40:11 +03:00 |
|
Aleksey Kladov
|
0650f77dd9
|
internal: remove one more immutable tree
|
2021-05-14 16:19:27 +03:00 |
|
Aleksey Kladov
|
880ddddfe6
|
dead code
|
2021-05-08 20:02:48 +03:00 |
|
Dawer
|
dc4fa504ea
|
Adapt to a new rowan borrowing node API.
|
2021-05-06 10:06:52 +05:00 |
|
Lukas Wirth
|
e6e4417bbb
|
Remove SyntaxRewriter::from_fn
|
2021-04-23 18:36:43 +02:00 |
|
Matthias Krüger
|
3d9b3a8575
|
remove more redundant clones (clippy::redundant_clone())
|
2021-03-21 12:10:39 +01:00 |
|
Aleksey Kladov
|
f5a81ec468
|
Upgrade rowan
Notably, new rowan comes with support for mutable syntax trees.
|
2021-03-16 16:10:49 +03:00 |
|
Laurențiu Nicola
|
fc9eed4836
|
Use upstream cov-mark
|
2021-03-08 22:19:44 +02:00 |
|
Aleksey Kladov
|
cd21b0e9c1
|
⬆️ rowan
|
2021-01-19 22:11:42 +03:00 |
|
bors[bot]
|
8a869e870a
|
Merge #7288
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 <lukastw97@gmail.com>
|
2021-01-15 18:40:47 +00:00 |
|
Lukas Wirth
|
cb863390f2
|
Handle self/super/crate in PathSegment as NameRef
|
2021-01-15 19:21:23 +01:00 |
|
Aleksey Kladov
|
6dbba4d75d
|
Remove useless wrapper
|
2021-01-15 20:15:33 +03:00 |
|
Vincent Esche
|
c8c2bd097a
|
Fixed typos in local bindings
|
2021-01-09 15:41:29 +01:00 |
|
Kevaundray Wedderburn
|
72b9a4fbd3
|
Change <|> to $0 - Rebase
|
2021-01-07 12:09:23 +00:00 |
|
Aleksey Kladov
|
3d5be5ba5b
|
Fix accidently quadratic syntax rewriter
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.
|
2020-12-10 20:07:37 +03:00 |
|
Kirill Bulatov
|
b2e6ca46ca
|
Profile completions better
|
2020-11-27 18:00:03 +02:00 |
|
bors[bot]
|
ada5a88f8f
|
Merge #6512
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 <lukastw97@gmail.com>
|
2020-11-09 23:41:43 +00:00 |
|
Lukas Wirth
|
a61bb4abb5
|
Don't replace parent node when inserting as first child in algo::diff
|
2020-11-09 20:10:49 +01:00 |
|
Aleksey Kladov
|
e72cd4600e
|
Fix debug for SyntaxRewriter
|
2020-11-09 14:09:49 +01:00 |
|
Lukas Wirth
|
750ab54573
|
Do insertion lookahead in algo::diff
|
2020-10-26 16:03:37 +01:00 |
|
Lukas Wirth
|
45860d5207
|
Remove InsertPos::Before variant in Syntax Rewriter
|
2020-10-24 21:58:03 +02:00 |
|
Lukas Wirth
|
aca2735d1e
|
Support insertion in SyntaxRewriter
|
2020-10-24 20:53:16 +02:00 |
|
Lukas Wirth
|
0059188e77
|
algo::diff tests
|
2020-10-22 14:48:24 +02:00 |
|
Lukas Wirth
|
d86863aeb4
|
Rewrite algo::diff to support insertion and deletion
|
2020-10-22 09:51:11 +02:00 |
|
Kirill Bulatov
|
cdd75a699a
|
Omit lenses for not runnable doctests
|
2020-08-22 22:03:02 +03:00 |
|
Aleksey Kladov
|
a1c187eef3
|
Rename ra_syntax -> syntax
|
2020-08-12 18:30:53 +02:00 |
|