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

Function ret_keyword_re

codegraph-kernel/src/ccpp/mod.rs:132–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 })
131}
132fn ret_keyword_re() -> &'static Regex {
133 static RE: OnceLock<Regex> = OnceLock::new();
134 RE.get_or_init(|| Regex::new(r"\b(?:const|volatile|typename|struct|class|enum)\b").unwrap())
135}
136fn angle_group_re() -> &'static Regex {
137 static RE: OnceLock<Regex> = OnceLock::new();
138 RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap())

Callers 1

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected