MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / arrow_dot_no_ws

Function arrow_dot_no_ws

codegraph-kernel/src/ccpp/mod.rs:270–272  ·  view source on GitHub ↗

JS `String.replace(/->/g,'.').replace(/\s+/g,'')` used on receivers.

(s: &str)

Source from the content-addressed store, hash-verified

268
269/// JS `String.replace(/->/g,'.').replace(/\s+/g,'')` used on receivers.
270fn 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)]
275pub enum Variant {

Callers 1

extract_callMethod · 0.85

Calls 1

collectMethod · 0.45

Tested by

no test coverage detected