MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_loc_word

Function is_loc_word

crates/sre_engine/src/string.rs:366–368  ·  view source on GitHub ↗
(ch: u32)

Source from the content-addressed store, hash-verified

364}
365#[inline]
366pub(crate) fn is_loc_word(ch: u32) -> bool {
367 ch == '_' as u32 || is_loc_alnum(ch)
368}
369#[inline]
370pub(crate) const fn is_linebreak(ch: u32) -> bool {
371 ch == '\n' as u32

Callers 1

categoryFunction · 0.85

Calls 1

is_loc_alnumFunction · 0.85

Tested by

no test coverage detected