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

Function strip_js_ws

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

Source from the content-addressed store, hash-verified

85 )
86}
87fn strip_js_ws(s: &str) -> String {
88 s.chars().filter(|c| !is_js_space(*c)).collect()
89}
90
91/// A receiver chain the resolver can type (TS `KOTLIN_RECEIVER_CHAIN`):
92/// 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