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

Function is_word_char

codegraph-kernel/src/ccpp/brace_scopes.rs:100–102  ·  view source on GitHub ↗
(c: u8)

Source from the content-addressed store, hash-verified

98 c.is_ascii_alphabetic() || c == b'_' || c == b'$' || c >= 0x80
99}
100fn is_word_char(c: u8) -> bool {
101 is_word_start(c) || c.is_ascii_digit()
102}
103fn at(s: &[u8], i: usize) -> u8 {
104 s.get(i).copied().unwrap_or(0)
105}

Callers 2

word_endFunction · 0.85
scanFunction · 0.85

Calls 1

is_word_startFunction · 0.85

Tested by

no test coverage detected