aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #3740bors[bot]2020-03-271-29/+28
|\ | | | | | | | | | | | | | | | | | | | | 3740: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-03-271-29/+28
| |
* | Merge #3732bors[bot]2020-03-261-0/+4
|\ \ | |/ |/| | | | | | | | | | | 3732: Assist: replace unwrap with match r=matklad a=unrealhoang attempt on #3669 Co-authored-by: Unreal Hoang <[email protected]>
| * Assist: replace unwrap with matchUnreal Hoang2020-03-261-0/+4
| |
* | Get rid of ItemOrMacroAleksey Kladov2020-03-262-31/+10
|/
* Remove dead codeAleksey Kladov2020-03-251-11/+0
|
* Merge #3708bors[bot]2020-03-242-67/+174
|\ | | | | | | | | | | | | | | | | | | | | 3708: Generalise syntax rewriting infrastructure to allow removal of nodes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Generalise syntax rewriting infrastructure to allow removal of nodesAleksey Kladov2020-03-242-67/+174
| |
* | Merge #3705bors[bot]2020-03-241-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3705: Align naming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Align namingAleksey Kladov2020-03-241-3/+3
| | |
* | | fill match arms with empty block rather than unit tupleJosh Mcguigan2020-03-241-0/+3
|/ /
* | review commentsJosh Mcguigan2020-03-231-1/+6
| |
* | implement fill match arm assist for tuple of enumsJosh Mcguigan2020-03-231-0/+9
|/
* Add support for macro in symbo_indexEdwin Cheng2020-03-221-1/+12
|
* Add identity expansion checkingEdwin Cheng2020-03-211-0/+4
|
* GeneralizeAleksey Kladov2020-03-191-0/+4
|
* Use match_astAleksey Kladov2020-03-181-2/+2
|
* Merge imports assistAleksey Kladov2020-03-182-0/+34
| | | | Work towards #2220
* Strongly-typed generic methods for editing nodesAleksey Kladov2020-03-181-47/+49
|
* Merge #3540bors[bot]2020-03-161-1/+15
|\ | | | | | | | | | | | | | | 3540: Swtches to rust SSR query check r=matklad a=mikhail-m1 related to #3186 Co-authored-by: Mikhail Modin <[email protected]>
| * Swtches to rust SSR query checkMikhail Modin2020-03-151-1/+15
| |
* | Parse variadics correctlyAleksey Kladov2020-03-131-0/+1
| | | | | | | | closes #3571
* | Remove some TextUnit->usize escapeesCAD972020-03-132-7/+7
| |
* | Merge pull request #3562 from FireofGods/display_for_nodeAleksey Kladov2020-03-122-1/+636
|\ \ | |/ |/| Add `std::fmt::Display` as a supertrait for `AstNode`
| * implementing Display for enums too.Fireassember2020-03-111-0/+635
| |
| * added fmt::Display as a supertrait for AstNode and changed generation.Fireassember2020-03-061-1/+1
| |
* | Add parse_to_token_treeEdwin Cheng2020-03-081-0/+6
|/
* make::use_itemAleksey Kladov2020-03-061-0/+4
|
* 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
|
* Slightly refactor inlay hintsAleksey Kladov2020-02-291-1/+1
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-293-18/+17
|
* Fix typoAleksey Kladov2020-02-291-1/+1
|
* Cleanup editing APIAleksey Kladov2020-02-292-9/+33
|
* 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
|
* Skip trival token in original_rangeEdwin Cheng2020-02-261-1/+13
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-1/+6
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* 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-184-12/+13
|
* Remove dat FIXMEVeetaha2020-02-181-1/+0
|
* ra_syntax: fix reparsing merging errors, also now reparse_token() reports errorsVeetaha2020-02-181-7/+50
|
* ra_syntax: remove message() method and use only Display trait in SyntaxError ↵Veetaha2020-02-172-4/+1
| | | | as per matklad
* ra_syntax: change module-level documentation for syntax_error to "see X" as ↵Veetaha2020-02-171-1/+1
| | | | per matklad
* ra_syntax: followup fix for making SyntaxError::range() to return by valueVeetaha2020-02-171-1/+1
|
* ra_syntax: SyntaxError::range() now returns by valueVeetaha2020-02-173-11/+5
|
* ra_syntax: moved reexport declaration after imports as per matkladVeetaha2020-02-171-1/+2
|