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

Function capitalized_re

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

extractStaticMemberRef's capitalized-receiver test.

()

Source from the content-addressed store, hash-verified

166}
167/// extractStaticMemberRef's capitalized-receiver test.
168fn capitalized_re() -> &'static Regex {
169 static RE: OnceLock<Regex> = OnceLock::new();
170 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
171}
172/// normalizeValue's qualified `&Cls::m` member-pointer test (`/^[A-Za-z_][\w:]*$/`).
173fn qualified_ref_re() -> &'static Regex {
174 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected