aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
Commit message (Collapse)AuthorAgeFilesLines
* Simplify creation of `T[,]`Aleksey Kladov2020-03-062-13/+4
|
* Rerail split_import API onto ASTAleksey Kladov2020-03-062-0/+39
| | | | | The code is more verbose and less efficient now, but should be reusable in add_import context as well
* Add with_use_treeAleksey Kladov2020-03-051-0/+10
|
* Implement concat macroEdwin Cheng2020-03-031-1/+7
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-292-15/+15
|
* Fix typoAleksey Kladov2020-02-291-1/+1
|
* Cleanup editing APIAleksey Kladov2020-02-291-6/+5
|
* More orthogonal API for building pathsAleksey Kladov2020-02-291-4/+7
|
* Refactor string literalsAleksey Kladov2020-02-271-60/+74
|
* Basic injectionsAleksey Kladov2020-02-271-0/+30
|
* Fix a crash with non-ascii whitespace in doc-commentsShotaro Yamada2020-02-191-2/+2
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-182-7/+7
|
* Init implementation of structural search replaceMikhail Modin2020-02-141-1/+1
|
* Introduce AttrKindKirill Bulatov2020-02-121-3/+12
|
* Do not add imports before inner attributesKirill Bulatov2020-02-121-0/+9
|
* Merge #3062bors[bot]2020-02-112-1/+41
|\ | | | | | | | | | | | | | | | | | | 3062: Implement slice pattern AST > HIR lowering r=jplatte a=jplatte WIP. The necessary changes for parsing are implemented, but actual inference is not yet. Just wanted to upload what I've got so far so it doesn't get duplicated :) Will fix #3043 Co-authored-by: Jonas Platte <[email protected]>
| * Implement slice pattern AST > HIR loweringJonas Platte2020-02-112-1/+41
| |
* | Add or- and parenthesized-patternsMatthew Jasper2020-02-091-6/+75
| |
* | Rename add import assistKirill Bulatov2020-02-071-1/+1
|/
* Cleanup early return assistAleksey Kladov2020-02-071-8/+21
|
* Generalize invert_if to just always workAleksey Kladov2020-02-071-1/+5
|
* A tiny bit more consistent APIAleksey Kladov2020-02-061-1/+1
|
* Refactor if-let -> match assist to use ast::makeAleksey Kladov2020-02-052-3/+25
|
* Make sure that newly created nodes are the root of the treeAleksey Kladov2020-02-041-2/+11
|
* Fixed a typoVeetaha2020-01-221-1/+1
|
* Fixed a typoVeetaha2020-01-221-1/+1
|
* Preserved a comment on the bug previously present in ast::Literal::kind()Veetaha2020-01-221-0/+5
|
* ra_syntax: remove code duplication and token reevaluation from ↵Veetaha2020-01-221-30/+20
| | | | ast::Literal::kind()
* changed 'descendants()' to 'children()'TomasKralCZ2020-01-201-4/+1
|
* added eq_token() method to LetStmtTomasKralCZ2020-01-191-0/+7
|
* More orthogonal path editingAleksey Kladov2020-01-152-16/+44
|
* More fluent APIAleksey Kladov2020-01-151-10/+12
|
* Slightly more fluent APIAleksey Kladov2020-01-152-14/+14
|
* SimplifyAleksey Kladov2020-01-151-5/+8
|
* SimplifyAleksey Kladov2020-01-151-7/+5
|
* Some clippy lintskjeremy2020-01-131-2/+2
|
* Qualify paths in 'fill match arms' assistFlorian Diebold2020-01-121-2/+3
|
* Fix ordering problem between qualifying paths and substituting paramsFlorian Diebold2020-01-112-6/+13
|
* Handle type argsFlorian Diebold2020-01-111-0/+7
|
* Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-101-0/+1
|
* Improve const generics parsingMichael Chesser2020-01-061-0/+33
| | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl
* BinOp helper to detect assignmentJeremy Kolb2020-01-041-0/+18
|
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-1484/+1476
|
* Collect visibility of items during nameresFlorian Diebold2019-12-261-0/+3
|
* Add infrastructure for visibility on syntax and hir_def levelFlorian Diebold2019-12-261-0/+29
|
* Remove AsyncOwnerEdwin Cheng2019-12-243-8/+4
|
* Implement infer await from async funcEdwin Cheng2019-12-242-0/+8
|
* Merge #2641bors[bot]2019-12-221-0/+30
|\ | | | | | | | | | | | | | | | | | | | | 2641: Parse const generics r=matklad a=roblabla Adds very primitive support for parsing const generics (`const IDENT: TY`) so that rust-analyzer stops complaining about the syntax being invalid. Fixes #1574 Fixes #2281 Co-authored-by: roblabla <[email protected]>
| * Parse const genericsroblabla2019-12-221-0/+30
| | | | | | | | | | Fixes #1574 Fixes #2281
* | Clippy lintskjeremy2019-12-201-2/+1
| |