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

Function is_raw_delimiter

codegraph-kernel/src/ccpp/brace_scopes.rs:236–238  ·  view source on GitHub ↗
(d: &[u8])

Source from the content-addressed store, hash-verified

234}
235
236fn is_raw_delimiter(d: &[u8]) -> bool {
237 d.len() <= 16 && d.iter().all(|&b| (0x21..=0x7e).contains(&b) && !matches!(b, b'"' | b'(' | b')' | b'\\'))
238}
239
240fn is_raw_prefix(w: &[u8]) -> bool {
241 matches!(w, b"R" | b"uR" | b"UR" | b"LR" | b"u8R")

Callers 1

scanFunction · 0.85

Calls 2

lenMethod · 0.80
allMethod · 0.65

Tested by

no test coverage detected