aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/mock.rs
Commit message (Collapse)AuthorAgeFilesLines
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-261-0/+1
|
* add AstDatabaseAleksey Kladov2019-06-021-1/+6
|
* fix odrer-of-iteration bug in testsAleksey Kladov2019-05-211-3/+3
|
* migrate to salsas interningAleksey Kladov2019-04-091-10/+1
|
* tweak diagnostics APIAleksey Kladov2019-03-251-4/+2
|
* test diagnosticsAleksey Kladov2019-03-251-1/+19
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-231-5/+1
|
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-6/+9
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-131-2/+3
|
* add graph fixtureAleksey Kladov2019-02-111-0/+35
|
* Handle SourceRoots automatically in fixturesAleksey Kladov2019-02-111-27/+55
|
* reformat the worldAleksey Kladov2019-02-081-4/+1
|
* move assists to a separate crateAleksey Kladov2019-02-061-6/+6
|
* make HirDatabase object-safeAleksey Kladov2019-02-031-3/+1
|
* split HirDatabase apicsmoe2019-02-011-1/+5
|
* 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
|