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

Function qualified_callable_re

codegraph-kernel/src/php.rs:100–103  ·  view source on GitHub ↗

String-callable qualified shape (`/^\w+::\w+$/`, JS ASCII `\w`).

()

Source from the content-addressed store, hash-verified

98}
99/// String-callable qualified shape (`/^\w+::\w+$/`, JS ASCII `\w`).
100fn qualified_callable_re() -> &'static Regex {
101 static RE: OnceLock<Regex> = OnceLock::new();
102 RE.get_or_init(|| Regex::new(r"^[0-9A-Za-z_]+::[0-9A-Za-z_]+$").unwrap())
103}
104/// extractStaticMemberRef's capitalized-receiver test.
105fn capitalized_re() -> &'static Regex {
106 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected