JS `String.replace(/->/g,'.').replace(/\s+/g,'')` used on receivers.
(s: &str)
| 268 | |
| 269 | /// JS `String.replace(/->/g,'.').replace(/\s+/g,'')` used on receivers. |
| 270 | fn arrow_dot_no_ws(s: &str) -> String { |
| 271 | s.replace("->", ".").chars().filter(|c| !c.is_whitespace()).collect() |
| 272 | } |
| 273 | |
| 274 | #[derive(Clone, Copy, PartialEq, Eq)] |
| 275 | pub enum Variant { |