aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_impl
Commit message (Collapse)AuthorAgeFilesLines
* fix a panic with glob-import missing a source mapAleksey Kladov2019-04-021-1/+1
|
* rename flavor to kindAleksey Kladov2019-04-021-4/+4
|
* add typed idsAleksey Kladov2019-03-261-10/+8
|
* store macro def inside macro idAleksey Kladov2019-03-261-1/+1
| | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def!
* switch modules to new diagnosticsAleksey Kladov2019-03-251-17/+2
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-234-23/+14
|
* rename ModuleId -> CrateModuleIdAleksey Kladov2019-03-171-2/+2
|
* Reorganize name resolutionAleksey Kladov2019-03-171-2/+1
|
* remove lower moduleAleksey Kladov2019-03-171-2/+2
|
* Replace module_tree with CrateDefMapAleksey Kladov2019-03-172-34/+67
|
* align lower module query namesAleksey Kladov2019-03-021-1/+1
|
* Remove `TypeRef` from item opts which implement TypeAscriptionOwnerVille Penttinen2019-02-271-3/+3
|
* Use TypeAscriptionOwnerVille Penttinen2019-02-261-8/+5
| | | | | | This replaces places where we would use node + node.type_ref() with things that have an ascribed type, with using the TypeAscriptionOwner as the trait bound so we can simply pass the node.
* Move ConstSignature creation to a single methodVille Penttinen2019-02-251-17/+13
|
* Add static type inferenceVille Penttinen2019-02-251-1/+16
|
* Add const type inferenceVille Penttinen2019-02-251-0/+26
|
* Handle impl generics in method callsFlorian Diebold2019-02-161-12/+1
|
* Turn ImplBlock into a copy type just containing IDsFlorian Diebold2019-02-161-17/+5
| | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions.
* reformat the worldAleksey Kladov2019-02-083-25/+6
|
* Sketching the resolver APIFlorian Diebold2019-02-011-4/+2
|
* split HirDatabase apicsmoe2019-02-013-11/+22
|
* Rename FnScopes -> ExprScopesFlorian Diebold2019-01-302-514/+0
| | | | | 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.
* Use Crate instead of CrateIdAleksey Kladov2019-01-302-13/+6
|
* Go to Implementation for structs and enumsJeremy Kolb2019-01-301-1/+12
|
* remove Option<SourceFileItemId> hackAleksey Kladov2019-01-261-5/+5
|
* simplifyAleksey Kladov2019-01-251-9/+3
|
* remove useless wrapperAleksey Kladov2019-01-251-5/+0
|
* write path resolution code only onceAleksey Kladov2019-01-251-60/+3
|
* Migrate trait & type to new idsAleksey Kladov2019-01-241-6/+1
|
* move consts&statics to new idAleksey Kladov2019-01-241-1/+5
|
* remove boilerplateAleksey Kladov2019-01-241-13/+1
|
* generalize boilerplateAleksey Kladov2019-01-241-4/+0
|
* move enum variant to the new APIAleksey Kladov2019-01-241-2/+2
|
* remove useless aliasesAleksey Kladov2019-01-241-3/+3
|
* migrate enums to new idAleksey Kladov2019-01-241-24/+18
|
* new struct idAleksey Kladov2019-01-241-1/+1
|
* Functions use new id schemeAleksey Kladov2019-01-242-11/+19
|
* Change ids strategyAleksey Kladov2019-01-242-125/+79
| | | | | | | 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
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-7/+6
|
* fix completion bugsgfreezy2019-01-231-0/+4
|
* Move docs to FunctionJeremy Kolb2019-01-221-4/+1
|
* Thread documentation through FnSignature and CompletionItemJeremy Kolb2019-01-221-1/+5
|
* Make Module impl methods crate-private, update some commentsFlorian Diebold2019-01-191-6/+9
|
* Add AST/HIR for type args in path segmentsFlorian Diebold2019-01-191-4/+6
|
* Refactor/simplify path resolutionFlorian Diebold2019-01-191-31/+33
|
* Address issues flagged in reviewMarcus Klaas de Vries2019-01-191-2/+0
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-191-4/+11
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-191-1/+1
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-191-0/+11
|
* rename LoweredImport -> ImportIdAleksey Kladov2019-01-191-2/+2
|