aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/expr_extensions.rs
Commit message (Collapse)AuthorAgeFilesLines
* Simlify with matches!()Veetaha2020-06-281-4/+1
|
* Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-05-021-11/+20
|\
| * Introduce EffectExprAleksey Kladov2020-05-021-8/+32
| |
| * Revert "Merge #4233"Aleksey Kladov2020-05-021-21/+6
| | | | | | | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
* | Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-05-011-5/+23
|\|
| * Introduce BlockModifierAleksey Kladov2020-04-301-1/+16
| |
| * Remove dead code, which elaborately pretends to be aliveAleksey Kladov2020-04-301-5/+5
| |
| * Fix a bunch of false-positives in join-linesAleksey Kladov2020-04-301-1/+4
| |
* | Add unwrap block assist #4156Benjamin Coenen2020-04-291-1/+1
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Simpler acessors for keywordsAleksey Kladov2020-04-091-6/+0
|
* use uniform accessorAleksey Kladov2020-04-091-4/+0
|
* Remove code duplicationAleksey Kladov2020-04-091-11/+11
|
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-0/+4
|
* lower bool literal with the value from source code rather than default bool ↵Josh Mcguigan2020-04-011-2/+3
| | | | value
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-6/+6
|
* Refactor if-let -> match assist to use ast::makeAleksey Kladov2020-02-051-0/+15
|
* 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()
* Some clippy lintskjeremy2020-01-131-2/+2
|
* Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-101-0/+1
|
* BinOp helper to detect assignmentJeremy Kolb2020-01-041-0/+18
|
* do refact and fix some issuebravomikekilo2019-11-241-1/+1
|
* Attempt to implement typed accessorsGeoffry Song2019-11-151-0/+46
|
* fix assistsAleksey Kladov2019-09-021-0/+20
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-3/+3
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-3/+3
|
* Introduce separate hir::BinaryOpAleksey Kladov2019-08-171-6/+0
| | | | | Unlike ast::BinOp, it has significantly more structure to it, so it's easier to, say, handle all assignment-like operations in the same way.
* implement accessors for IndexExprAleksey Kladov2019-08-171-0/+9
|
* simplifyAleksey Kladov2019-08-171-35/+36
|
* cargo formatPhil Ellison2019-07-281-3/+1
|
* Add special case for f32 and f43 suffices on Literal.kindPhil Ellison2019-07-281-3/+21
|
* switch to upstream rowan's APIAleksey Kladov2019-07-201-8/+5
|
* convenience apiAleksey Kladov2019-07-191-36/+36
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-15/+15
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-3/+3
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Fix formattingShotaro Yamada2019-06-151-7/+3
|
* Skip attrs in `Literal::token`Shotaro Yamada2019-06-151-2/+17
|
* apply T! macro where it is possibleSergey Parilin2019-05-151-38/+39
|
* updated snapshotsLenard Pratt2019-04-071-1/+1
|
* Added ArrayExprKind,Lenard Pratt2019-04-071-0/+22
| | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr
* add minimal commentsAleksey Kladov2019-04-021-0/+2
|
* rename flavor to kindAleksey Kladov2019-04-021-9/+9
|
* move extensions to submodulesAleksey Kladov2019-04-021-0/+250