aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename FnScopes -> ExprScopesFlorian Diebold2019-01-301-0/+4
| | | | | The reason for this is that it describes scopes for any body expression, not just that of a function. It did not actually refer to functions at all anymore.
* fix AST for if expressionsAleksey Kladov2019-01-261-2/+14
| | | | then is not always a block...
* Functions use new id schemeAleksey Kladov2019-01-241-12/+10
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-24/+26
|
* Change parsing of struct field patternsMarcus Klaas de Vries2019-01-191-14/+14
|
* Move parsing of field pattern lists to the parser (where it belongs)Marcus Klaas de Vries2019-01-191-4/+12
|
* Address issues flagged in reviewMarcus Klaas de Vries2019-01-191-7/+2
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-191-10/+8
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-191-1/+48
|
* Implement unlabeled struct field pattern inferenceMarcus Klaas de Vries2019-01-191-5/+6
|
* Get basic struct pattern type inference working!Marcus Klaas de Vries2019-01-191-20/+19
|
* Create struct patterns up to the hir levelMarcus Klaas de Vries2019-01-191-5/+34
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-191-13/+54
|
* Implement array inferenceHirokazu Hata2019-01-161-2/+8
|
* Implement rudimentary type inference for unary operatorsMarcus Klaas de Vries2019-01-151-3/+6
|
* remove Cancelable from funciton bodyAleksey Kladov2019-01-151-11/+6
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-151-2/+2
|
* Address issues found in reviewMarcus Klaas de Vries2019-01-141-10/+8
|
* Give literal expression default values for nowMarcus Klaas de Vries2019-01-141-23/+9
|
* Fixup testsMarcus Klaas de Vries2019-01-141-88/+53
|
* Start moving literal interpretation to the AST (WIP)Marcus Klaas de Vries2019-01-141-4/+3
|
* don't try to treat arrays and tuples as literalsMarcus Klaas de Vries2019-01-141-18/+1
|
* Use type variables to determine exact type for ambiguous numeric literalsMarcus Klaas de Vries2019-01-141-1/+16
|
* Try implementing integer type inference (WIP)Marcus Klaas de Vries2019-01-141-13/+45
|
* Implement type inference for literals (WIP)Marcus Klaas de Vries2019-01-141-2/+76
|
* Implement tuple inferenceHirokazu Hata2019-01-131-1/+12
|
* support ref-patternsAleksey Kladov2019-01-131-1/+11
|
* args -> paramsFlorian Diebold2019-01-121-13/+13
|
* Use name resolution for goto definitionFlorian Diebold2019-01-101-1/+1
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-2/+6
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* move function to code_model_apiAleksey Kladov2019-01-081-4/+1
|
* migrate ra_analysis to new rowanAleksey Kladov2019-01-081-2/+2
|
* migrate ra_hir to rowan 2.0Aleksey Kladov2019-01-081-44/+44
|
* Improve types for node_expr / node_patFlorian Diebold2019-01-061-5/+5
|
* Introduce ArenaMapFlorian Diebold2019-01-061-9/+9
|
* Use HIR Expr for type inferenceFlorian Diebold2019-01-061-3/+28
| | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :)
* Various small code review improvementsFlorian Diebold2019-01-051-13/+18
|
* Make FnScopes use hir::ExprFlorian Diebold2019-01-051-65/+298
| | | | | | This was a bit complicated. I've added a wrapper type for now that does the LocalSyntaxPtr <-> ExprId translation; we might want to get rid of that or give it a nicer interface.
* Add HIR Expr machineryFlorian Diebold2019-01-051-0/+507