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

Function generic_args_re

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

getReturnType's generics strip (`/<[^>]*>/g`) — non-nesting (rust-class quirk).

()

Source from the content-addressed store, hash-verified

88}
89/// getReturnType's generics strip (`/<[^>]*>/g`) — non-nesting (rust-class quirk).
90fn generic_args_re() -> &'static Regex {
91 static RE: OnceLock<Regex> = OnceLock::new();
92 RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap())
93}
94/// extractStaticMemberRef's capitalized-receiver test.
95fn capitalized_re() -> &'static Regex {
96 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

return_type_ofMethod · 0.70

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected