rust/crates/ra_ssr/src
David Lattimore fa1e411322 SSR: Wrap placeholder expansions in parenthesis when necessary
e.g. `foo($a) ==> $a.to_string()` should produce `(1 + 2).to_string()`
not `1 + 2.to_string()`

We don't yet try to determine if the whole replacement needs to be
wrapped in parenthesis. That's harder and I think perhaps less often an
issue.
2020-07-30 20:32:01 +10:00
..
errors.rs SSR: Extract error code out to a separate module 2020-07-04 08:56:51 +10:00
lib.rs SSR: Restrict to current selection if any 2020-07-29 15:06:58 +10:00
matching.rs SSR: Restrict to current selection if any 2020-07-29 15:06:58 +10:00
nester.rs SSR: Refactor to not rely on recursive search for nesting of matches 2020-07-24 21:34:00 +10:00
parsing.rs Rename ModuleItem -> Item 2020-07-30 00:23:03 +02:00
replacing.rs SSR: Wrap placeholder expansions in parenthesis when necessary 2020-07-30 20:32:01 +10:00
resolving.rs SSR: Rename position and lookup_context to resolve_context 2020-07-29 19:20:40 +10:00
search.rs SSR: Restrict to current selection if any 2020-07-29 15:06:58 +10:00
tests.rs SSR: Wrap placeholder expansions in parenthesis when necessary 2020-07-30 20:32:01 +10:00