aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_explicit_type.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor primary IDE APIAleksey Kladov2020-02-261-3/+2
| | | | | | | | | | 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.
* Name assist handlersAleksey Kladov2020-02-071-0/+178