aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/semantics.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Simpilfy origin_range logicEdwin Cheng2020-02-281-38/+27
|/
* Use text_range::extend_toEdwin Cheng2020-02-271-10/+3
|
* Skip trival token in original_rangeEdwin Cheng2020-02-261-5/+7
|
* Remove duplicate commentEdwin Cheng2020-02-261-1/+0
|
* Add recursive support in original_rangeEdwin Cheng2020-02-261-14/+37
|
* Reduce visibilityAleksey Kladov2020-02-261-6/+66
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-0/+335
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.