Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Simpilfy origin_range logic | Edwin Cheng | 2020-02-28 | 1 | -38/+27 | |
|/ | ||||||
* | Use text_range::extend_to | Edwin Cheng | 2020-02-27 | 1 | -10/+3 | |
| | ||||||
* | Skip trival token in original_range | Edwin Cheng | 2020-02-26 | 1 | -5/+7 | |
| | ||||||
* | Remove duplicate comment | Edwin Cheng | 2020-02-26 | 1 | -1/+0 | |
| | ||||||
* | Add recursive support in original_range | Edwin Cheng | 2020-02-26 | 1 | -14/+37 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2020-02-26 | 1 | -6/+66 | |
| | ||||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -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. |