aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/mock.rs
Commit message (Collapse)AuthorAgeFilesLines
* Test non standard crate rootErlend Tobiassen2019-01-271-6/+10
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-2/+2
|
* move ide queries to ide dbAleksey Kladov2019-01-261-2/+0
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-7/+3
|
* :arrow_up: salsaAleksey Kladov2019-01-251-2/+6
|
* use set methodsAleksey Kladov2019-01-251-23/+10
|
* :arrow_up salsaAleksey Kladov2019-01-251-45/+5
|
* pack enum variants into arenaAleksey Kladov2019-01-251-1/+0
|
* Change ids strategyAleksey Kladov2019-01-241-4/+9
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* encapsulate hir locationsAleksey Kladov2019-01-241-19/+8
|
* Generics -> GenericParamsFlorian Diebold2019-01-191-1/+1
|
* Implement beginnings of genericsFlorian Diebold2019-01-191-0/+1
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* fix the testAleksey Kladov2019-01-191-1/+3
|
* :arrow_up: salsaAleksey Kladov2019-01-171-4/+6
|
* Implement basic inherent method resolutionFlorian Diebold2019-01-121-0/+1
|
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-0/+1
|
* implement RefUnwindSafeAleksey Kladov2019-01-101-1/+3
|
* ra_db is independent from editorAleksey Kladov2019-01-081-1/+0
|
* Fix name resolution across source rootsFlorian Diebold2019-01-081-11/+36
| | | | It was using the wrong name in that case.
* Add fn signature queryFlorian Diebold2019-01-061-0/+1
|
* Add HIR Expr machineryFlorian Diebold2019-01-051-0/+2
|
* Rename ImplsInCrateQuery as wellFlorian Diebold2019-01-041-1/+1
|
* Type the self parameterFlorian Diebold2019-01-041-0/+4
|
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+1
| | | | | | | | | 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.
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-1/+1
|
* fix testsAleksey Kladov2019-01-011-0/+1
|
* fix testsAleksey Kladov2019-01-011-1/+8
|
* remove FnIdAleksey Kladov2018-12-271-1/+0
|
* Resolve field types lazilyFlorian Diebold2018-12-251-0/+1
| | | | I.e. not already when getting the HIR for the struct.
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+2
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-231-0/+1
|
* Add testing infrastructure for type inferenceFlorian Diebold2018-12-231-0/+9
| | | | - move dir_tests to test_utils for that.
* Add beginnings of type infrastructureFlorian Diebold2018-12-231-1/+2
|
* fix testsAleksey Kladov2018-12-201-5/+8
|
* fix hir mockAleksey Kladov2018-12-201-16/+19
|
* resolve extern crates propertlyAleksey Kladov2018-12-091-4/+20
|
* Add functions to DefIdAleksey Kladov2018-12-041-8/+1
|
* Move hir tests to hitAleksey Kladov2018-11-281-0/+172