aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add HIR for impl blocksFlorian Diebold2019-01-041-1/+7
| | | | | | | | | 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.
* renameAleksey Kladov2019-01-021-1/+1
|
* move macro id to idsAleksey Kladov2019-01-011-2/+2
|
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-5/+5
|
* fix testsAleksey Kladov2019-01-011-1/+1
|
* use MFileAleksey Kladov2019-01-011-3/+7
|
* fix testsAleksey Kladov2019-01-011-1/+1
|
* renameAleksey Kladov2019-01-011-4/+4
|
* move more macros to hirAleksey Kladov2019-01-011-0/+7
|
* Add more docs in ty.rsFlorian Diebold2018-12-291-3/+3
| | | | | Also get rid of the indirection through query_definitions for the type-related queries.
* nameify structs&enumsAleksey Kladov2018-12-281-6/+3
|
* remove FnIdAleksey Kladov2018-12-271-8/+2
|
* Resolve field types lazilyFlorian Diebold2018-12-251-0/+6
| | | | I.e. not already when getting the HIR for the struct.
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+11
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-231-2/+7
|
* Add beginnings of type infrastructureFlorian Diebold2018-12-231-0/+6
|
* Gc syntax trees after every modificationAleksey Kladov2018-12-181-4/+0
|
* Add functions to DefIdAleksey Kladov2018-12-041-2/+2
|
* Move hir to a separate crateAleksey Kladov2018-11-281-2/+2
|
* introduce hir crateAleksey Kladov2018-11-281-0/+66