rust-analyzer/crates/ra_assists/src/handlers
Aleksey Kladov c3a4c4429d Refactor primary IDE API
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.
2020-02-26 12:55:50 +01:00
..
add_custom_impl.rs More manual clippy fixes 2020-02-18 16:12:37 +02:00
add_derive.rs Name assist handlers 2020-02-07 17:28:02 +01:00
add_explicit_type.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
add_impl.rs Name assist handlers 2020-02-07 17:28:02 +01:00
add_missing_impl_members.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
add_new.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
apply_demorgan.rs Introduce assists utils 2020-02-07 17:28:02 +01:00
auto_import.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
change_visibility.rs Name assist handlers 2020-02-07 17:28:02 +01:00
early_return.rs Introduce assists utils 2020-02-07 17:28:02 +01:00
fill_match_arms.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
flip_binexpr.rs Name assist handlers 2020-02-07 17:28:02 +01:00
flip_comma.rs Name assist handlers 2020-02-07 17:28:02 +01:00
flip_trait_bound.rs Name assist handlers 2020-02-07 17:28:02 +01:00
inline_local_variable.rs Refactor primary IDE API 2020-02-26 12:55:50 +01:00
introduce_variable.rs Remove code duplication in tests 2020-02-26 11:25:07 +01:00
invert_if.rs Introduce assists utils 2020-02-07 17:28:02 +01:00
merge_match_arms.rs Add or- and parenthesized-patterns 2020-02-09 22:06:15 +00:00
move_bounds.rs Name assist handlers 2020-02-07 17:28:02 +01:00
move_guard.rs More manual clippy fixes 2020-02-18 16:12:37 +02:00
raw_string.rs Name assist handlers 2020-02-07 17:28:02 +01:00
remove_dbg.rs Name assist handlers 2020-02-07 17:28:02 +01:00
remove_mut.rs Add remove_mut assist 2020-02-19 12:44:54 +01:00
replace_if_let_with_match.rs Run cargo +nightly fix --clippy -Z unstable-options 2020-02-18 16:03:08 +02:00
replace_qualified_name_with_use.rs Introduce AttrKind 2020-02-12 16:44:52 +02:00
split_import.rs Name assist handlers 2020-02-07 17:28:02 +01:00