aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/function.rs
Commit message (Collapse)AuthorAgeFilesLines
* migrate ra_hir to rowan 2.0Aleksey Kladov2019-01-081-9/+8
|
* Add fn signature queryFlorian Diebold2019-01-061-1/+59
|
* Make FnScopes use hir::ExprFlorian Diebold2019-01-051-4/+17
| | | | | | 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 for impl blocksFlorian Diebold2019-01-041-2/+15
| | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.
* remove FnIdAleksey Kladov2018-12-271-12/+11
|
* add function to completion ctxAleksey Kladov2018-12-271-0/+1
|
* Collect field data for structs/enum variantsFlorian Diebold2018-12-251-2/+1
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-231-3/+13
|
* Add beginnings of type infrastructureFlorian Diebold2018-12-231-1/+5
|
* completion uses hir scopesAleksey Kladov2018-12-221-1/+1
|
* grand module renameAleksey Kladov2018-12-081-0/+151