aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add BuiltinShadowModeEdwin Cheng2019-11-301-1/+1
|
* Rename Source -> InFileAleksey Kladov2019-11-281-14/+14
|
* Move TyAleksey Kladov2019-11-271-17/+5
|
* Use Id for variatsAleksey Kladov2019-11-271-2/+2
|
* More decouplingAleksey Kladov2019-11-271-3/+3
|
* Decouple moreAleksey Kladov2019-11-271-3/+3
|
* DecoupleAleksey Kladov2019-11-271-4/+4
|
* CleanupAleksey Kladov2019-11-261-2/+2
|
* Hide MacroCallLocEdwin Cheng2019-11-261-4/+2
|
* Merge #2406bors[bot]2019-11-261-5/+6
|\ | | | | | | | | | | | | | | 2406: Add hygiene information to SourceAnalyzer r=matklad a=edwin0cheng This should fix https://github.com/rust-analyzer/rust-analyzer/pull/2392#issuecomment-557964686 Co-authored-by: Edwin Cheng <[email protected]>
| * Remove dbg!Edwin Cheng2019-11-261-2/+0
| |
| * Add hygiene information to SourceAnalyzerEdwin Cheng2019-11-261-5/+8
| |
* | Introduce hir::TypeAleksey Kladov2019-11-261-21/+25
|/ | | | It should provide a convenient API over more low-level Ty
* Use GenericDefIdMoreAleksey Kladov2019-11-251-2/+2
|
* Remove Resolver from autoderefAleksey Kladov2019-11-251-2/+8
| | | | | Resolver holds onto too much context, including local scopes. Let's try to pass in only what is necessary -- the trait environment.
* SimplifyAleksey Kladov2019-11-241-5/+4
|
* Don't redo field resolution in the IDEAleksey Kladov2019-11-241-0/+5
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-8/+4
|
* Cleanup importsAleksey Kladov2019-11-241-6/+7
|
* Add to_macro_file_kindEdwin Cheng2019-11-211-2/+38
|
* Move resolver to hir_defAleksey Kladov2019-11-211-8/+8
|
* DecoupleAleksey Kladov2019-11-211-4/+9
|
* Split internal and user-visible ScopeDefAleksey Kladov2019-11-211-2/+17
|
* Move ScopeDefAleksey Kladov2019-11-211-3/+3
|
* DecoupleAleksey Kladov2019-11-211-4/+4
|
* DecoupleAleksey Kladov2019-11-211-6/+6
|
* Move expr resolver to resolveAleksey Kladov2019-11-211-3/+3
|
* Decouple ResolverAleksey Kladov2019-11-211-9/+12
|
* Add HasResolver traitAleksey Kladov2019-11-201-1/+1
|
* Move constants to new IDAleksey Kladov2019-11-201-1/+6
| | | | This allows us to get rid of trait item index
* Fix expand macroEdwin Cheng2019-11-201-3/+10
|
* Next gen IDs for functionsAleksey Kladov2019-11-201-1/+1
| | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def
* Rename with_ast -> with_valueAleksey Kladov2019-11-201-6/+6
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-12/+12
|
* Change to use Expansion::file_id and reorderingEdwin Cheng2019-11-191-6/+1
|
* RebaseEdwin Cheng2019-11-191-0/+5
|
* More correct expansion mappingAleksey Kladov2019-11-171-4/+9
| | | | We can't really map arbitrary ranges, we only can map tokens
* Goto definition works inside macrosAleksey Kladov2019-11-161-1/+22
|
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-30/+20
|
* Prepare SourceAnalyzer for macrosAleksey Kladov2019-11-151-1/+0
|
* Prepare SourceAnalyzer for macrosAleksey Kladov2019-11-151-7/+6
|
* Sourcify some moreAleksey Kladov2019-11-151-13/+21
|
* Sourcify some thingsAleksey Kladov2019-11-151-8/+7
| | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere...
* Move scope tests to hir_defAleksey Kladov2019-11-151-19/+5
|
* Reduce visibilityAleksey Kladov2019-11-151-3/+3
|
* Use Local moreAleksey Kladov2019-11-151-8/+0
|
* Move body queries to hir_defAleksey Kladov2019-11-141-1/+1
|
* Move scopes to hir_defAleksey Kladov2019-11-141-5/+1
|
* Handle macro-generated expressions slightly less wrongAleksey Kladov2019-11-141-13/+31
|
* Remove owner from BodyAleksey Kladov2019-11-121-1/+1
|