aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_analyzer.rs
Commit message (Collapse)AuthorAgeFilesLines
* More principled approach for gotodef for field shorhandAleksey Kladov2020-03-021-8/+19
| | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local.
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-1/+1
|
* Fix highlighting of const patternsAleksey Kladov2020-02-281-5/+26
|
* Remove dead codeAleksey Kladov2020-02-261-24/+8
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-121/+73
| | | | | | | | | | 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.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-3/+2
|
* Introduce AsMacroCall traitEdwin Cheng2020-02-171-10/+6
|
* Add impl trait lowering modeFlorian Diebold2020-02-071-2/+1
|
* Introduce TyLoweringContextFlorian Diebold2020-02-071-2/+7
|
* TyposAleksey Kladov2020-01-151-1/+1
|
* Store DB in SourceBinderAleksey Kladov2020-01-151-1/+1
|
* Introduce SourceBinderAleksey Kladov2020-01-151-98/+42
|
* Move Type API to typeAleksey Kladov2020-01-141-62/+8
|
* Push resolver further upAleksey Kladov2020-01-141-2/+16
|
* Move impls_future to Type, where it belongsAleksey Kladov2020-01-141-23/+1
|
* Use lang-items to resolve future traitAleksey Kladov2020-01-141-10/+9
|
* Move utility functions downAleksey Kladov2020-01-141-58/+58
|
* Rename fileAleksey Kladov2020-01-141-0/+569