aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move expression lowering to hir_defAleksey Kladov2019-11-121-132/+34
|
* Remove owner from BodyAleksey Kladov2019-11-121-13/+7
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-121-402/+6
|
* Minor cleanupAleksey Kladov2019-11-121-31/+30
|
* remove forward pointer for type_refAleksey Kladov2019-10-301-2/+4
|
* remove forward pointer to PathAleksey Kladov2019-10-301-1/+1
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Infer box expressionuHOOCCOOHu2019-09-111-1/+5
|
* cleanup hir db importsAleksey Kladov2019-09-081-1/+2
|
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-031-10/+19
|
* slightly simplify expr lowering flowAleksey Kladov2019-09-031-1/+32
|
* use recrod terminology for hir::PatAleksey Kladov2019-09-031-2/+2
|
* move expr lowering to lowerAleksey Kladov2019-09-031-651/+12
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-26/+26
|
* remove useless traitAleksey Kladov2019-09-021-2/+2
|
* Convert `BoxPat` to `Missing` in HIRDylan MacKenzie2019-08-241-0/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-21/+21
|
* remove ast::*Kind from hirAleksey Kladov2019-08-191-46/+44
|
* implement initial type inference for index expressionsAleksey Kladov2019-08-171-1/+13
|
* normalize ordering opsAleksey Kladov2019-08-171-10/+20
|
* Introduce separate hir::BinaryOpAleksey Kladov2019-08-171-2/+75
| | | | | 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 while let desugaringAleksey Kladov2019-08-071-14/+26
|
* refactor if-let loweringAleksey Kladov2019-08-071-19/+25
| | | | mainly to get rid of unwraps
* refactor if loweringAleksey Kladov2019-08-071-17/+14
|
* Merge #1562bors[bot]2019-07-201-0/+8
|\ | | | | | | | | | | | | | | | | 1562: Continue support for .await r=matklad a=unrealhoang - add await expr to ast and HIR Expr - infer type for `.await` Co-authored-by: Unreal Hoang <[email protected]>
| * add await expr to astUnreal Hoang2019-07-201-0/+8
| |
* | move debug_dump to fmt::DebugAleksey Kladov2019-07-201-1/+1
|/
* minorAleksey Kladov2019-07-191-5/+1
|
* migrate ra_hir to the new rowanAleksey Kladov2019-07-191-22/+24
|
* Constify KnownName'sMuhammad Mominul Huque2019-07-071-2/+2
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-4/+4
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+13
| | | | | | 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
* remove inherent source implsAleksey Kladov2019-06-111-0/+1
|
* use Source for statics and constsAleksey Kladov2019-06-111-6/+6
|
* use Source for FunctionAleksey Kladov2019-06-111-3/+3
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-13/+13
|
* [#1083] Try block syntaxAndrey Tkachenko2019-06-061-1/+9
|
* Improve goto definition for MBEEdwin Cheng2019-06-011-1/+1
|
* allow expanding expressionsAleksey Kladov2019-05-141-7/+4
|
* store macro kind in HirFileIdAleksey Kladov2019-05-141-4/+7
|
* simplifyAleksey Kladov2019-05-121-2/+3
|
* fill struct fields diagnosticSergey Parilin2019-05-061-6/+10
|
* make macro expansion into a proper queryAleksey Kladov2019-05-041-14/+3
|
* introduce macro_arg intermediate queryAleksey Kladov2019-05-041-19/+14
| | | | | | | | | | | | Currently, when expanding macros, we look at the source code directly (we invoke ast_id_to_node query via to_node method). This is less then ideal, because it make us re-expand macros after every source change. This commit establishes a salsa-firewall: a query to get macro call's token tree. Unlike the syntax tree, token tree changes only if we actually modify the macro itself.
* Use correct FileId when expanding macros in expressionsAleksey Kladov2019-05-011-15/+38
|
* Introduced resolve_macro_call on resolverLenard Pratt2019-04-231-49/+55
| | | | | | changed to manual expansion fix for nested macros
* Added macro resolution and expansionLenard Pratt2019-04-221-88/+113
|
* Addeded resolver and dbLenard Pratt2019-04-221-60/+79
|
* move ScopeEntryWithSyntaxAleksey Kladov2019-04-131-2/+2
|
* make resolver privateAleksey Kladov2019-04-131-2/+6
|