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

Function capitalized_re

codegraph-kernel/src/swift.rs:95–98  ·  view source on GitHub ↗

extractStaticMemberRef's capitalized-receiver test.

()

Source from the content-addressed store, hash-verified

93}
94/// extractStaticMemberRef's capitalized-receiver test.
95fn capitalized_re() -> &'static Regex {
96 static RE: OnceLock<Regex> = OnceLock::new();
97 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
98}
99
100/// JS `\s` for the chained-call inner-callee strip (`.replace(/\s+/g, '')`).
101fn is_js_space(c: char) -> bool {

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected