MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_word_char

Method is_word_char

atomic-core/src/diff/token/tokenizer.rs:194–196  ·  view source on GitHub ↗
(b: u8)

Source from the content-addressed store, hash-verified

192 /// Check if a byte is a word character (alphanumeric or underscore).
193 #[inline]
194 fn is_word_char(b: u8) -> bool {
195 b.is_ascii_alphanumeric() || b == b'_'
196 }
197
198 /// Check if a byte starts a number.
199 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected