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

Function cap_ident_re

codegraph-kernel/src/scala.rs:106–109  ·  view source on GitHub ↗

Static-member receiver gate (`/^[A-Z][A-Za-z0-9_]*$/`).

()

Source from the content-addressed store, hash-verified

104}
105/// Static-member receiver gate (`/^[A-Z][A-Za-z0-9_]*$/`).
106fn cap_ident_re() -> &'static Regex {
107 static RE: OnceLock<Regex> = OnceLock::new();
108 RE.get_or_init(|| Regex::new(r"^[A-Z][A-Za-z0-9_]*$").unwrap())
109}
110/// The #750 re-encode gate (`/^[A-Z]/`).
111fn starts_upper_re() -> &'static Regex {
112 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected