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

Function strip_js_ws

codegraph-kernel/src/kotlin.rs:86–88  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

84 )
85}
86fn strip_js_ws(s: &str) -> String {
87 s.chars().filter(|c| !is_js_space(*c)).collect()
88}
89
90/// A receiver chain the resolver can type (TS `KOTLIN_RECEIVER_CHAIN`):
91/// whitespace stripped, `?.` read as `.`, then `this` or an identifier

Callers 2

kotlin_receiver_chainFunction · 0.70
extract_callMethod · 0.70

Calls 2

is_js_spaceFunction · 0.70
collectMethod · 0.45

Tested by

no test coverage detected