aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead codeAleksey Kladov2020-02-261-1/+1
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-2/+3
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* show names for record fields in enum completionadamrk2020-02-161-0/+1
|
* Add more hir APIs for associated itemsAleksey Kladov2020-02-121-4/+4
|
* Remove ImportResolver-related stubsKirill Bulatov2020-02-091-2/+1
|
* Remove the leftovers after ImportLocator removalKirill Bulatov2020-02-061-1/+0
|
* Code review fixesKirill Bulatov2020-02-021-1/+1
|
* Require ModPath for importingKirill Bulatov2020-02-021-1/+2
|
* Code review fixesKirill Bulatov2020-01-271-3/+2
|
* Adjust the testsKirill Bulatov2020-01-261-0/+1
|
* Have a better trait interfaceKirill Bulatov2020-01-261-1/+2
|
* Initial auto import action implementationKirill Bulatov2020-01-261-1/+1
|
* Create modules via SourceBinderAleksey Kladov2020-01-161-1/+0
|
* Make FromSource privateAleksey Kladov2020-01-161-1/+0
|
* Store DB in SourceBinderAleksey Kladov2020-01-151-0/+1
|
* Introduce SourceBinderAleksey Kladov2020-01-151-1/+2
|
* Rename fileAleksey Kladov2020-01-141-2/+2
|
* Add visibility in code model for fieldsFlorian Diebold2019-12-261-2/+2
|
* Remove imports from hirAleksey Kladov2019-12-211-2/+2
|
* Revert "Merge #2629"Aleksey Kladov2019-12-211-2/+2
| | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79.
* Remove hir for importsAleksey Kladov2019-12-211-2/+2
|
* Drop dead codeAleksey Kladov2019-12-191-1/+1
|
* Merge #2562bors[bot]2019-12-171-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]>
| * Re-export Origin to replace ExpansionOriginEdwin Cheng2019-12-141-2/+1
| |
| * Fix original_source find orderEdwin Cheng2019-12-141-1/+2
| |
* | Use different types for path with and without genericsAleksey Kladov2019-12-141-1/+1
|/
* Remove more dead codeAleksey Kladov2019-12-081-2/+0
|
* Cleanup module structureAleksey Kladov2019-12-081-5/+7
|
* Remove ty from code_modelAleksey Kladov2019-12-081-6/+1
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-071-3/+3
| | | | We don't have LifetimeParam yet, but they are planned!
* Add `ModuleSource::Block`ice10002019-12-041-2/+3
|
* Replace `ra_hir_expand::either` with crateice10002019-12-031-1/+1
|
* Rename Source -> InFileAleksey Kladov2019-11-281-1/+1
|
* Move TyAleksey Kladov2019-11-271-8/+1
|
* Introduce hir::TypeAleksey Kladov2019-11-261-1/+1
| | | | It should provide a convenient API over more low-level Ty
* Remove impl_block moduleAleksey Kladov2019-11-241-1/+0
|
* SimplifyAleksey Kladov2019-11-241-5/+4
|
* Remove ids moduleAleksey Kladov2019-11-241-1/+0
|
* Cleanup importsAleksey Kladov2019-11-241-2/+3
|
* Hide ImportIdAleksey Kladov2019-11-231-3/+2
|
* Cleanup importsAleksey Kladov2019-11-231-1/+1
|
* Move docs to hir_defAleksey Kladov2019-11-231-2/+2
|
* Move lang_items to hir_defAleksey Kladov2019-11-231-1/+0
|
* Move attrs query to hir_defAleksey Kladov2019-11-231-5/+4
|
* Move const&static date to hir_defAleksey Kladov2019-11-221-4/+4
|
* Move FunctionData to hir_defAleksey Kladov2019-11-221-3/+3
|
*-. Merge #2348 #2352bors[bot]2019-11-221-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | * Move TypeAlias to hir_defAleksey Kladov2019-11-221-1/+0
| |/
* / Rename Atts traitAleksey Kladov2019-11-221-1/+1
|/
* reformatAleksey Kladov2019-11-211-4/+3
|