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

Function angle_args_re

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

extractDartReturnType's `<...>` strip (`/<[^>]*>/g`).

()

Source from the content-addressed store, hash-verified

98}
99/// extractDartReturnType's `<...>` strip (`/<[^>]*>/g`).
100fn angle_args_re() -> &'static Regex {
101 static RE: OnceLock<Regex> = OnceLock::new();
102 RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap())
103}
104
105/// The UpperCamel test of isDartTypeName (`/^[_$]*[A-Z]/`) — how Dart writes
106/// a type, `_Private` and `$Generated` ones included.

Callers 1

return_type_ofMethod · 0.85

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected