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

Function bracket_args_re

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

extractScalaReturnType's generic-args strip (`/\[[^\]]*\]/g`).

()

Source from the content-addressed store, hash-verified

99}
100/// extractScalaReturnType's generic-args strip (`/\[[^\]]*\]/g`).
101fn bracket_args_re() -> &'static Regex {
102 static RE: OnceLock<Regex> = OnceLock::new();
103 RE.get_or_init(|| Regex::new(r"\[[^\]]*\]").unwrap())
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();

Callers 1

return_type_ofMethod · 0.70

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected