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

Function is_word_at

codegraph-kernel/src/cfnptr.rs:106–108  ·  view source on GitHub ↗
(s: &[u8], i: usize)

Source from the content-addressed store, hash-verified

104
105#[inline]
106fn is_word_at(s: &[u8], i: usize) -> bool {
107 i < s.len() && is_word(s[i])
108}
109
110/// Byte length of the JS `\s` character starting at `i`, or 0 when `s[i]`
111/// doesn't start one. JS \s = [\t\n\v\f\r    -

Callers 11

find_wordFunction · 0.85
fnptr_paren_tailFunction · 0.85
scan_inline_structsFunction · 0.85
init_bodyFunction · 0.85
array_table_bodyFunction · 0.85
alias_lineFunction · 0.85
field_assign_atFunction · 0.85
scan_dispatchFunction · 0.85
scan_array_dispatchFunction · 0.85
first_typedFunction · 0.85
parse_struct_fields_rawFunction · 0.85

Calls 2

is_wordFunction · 0.85
lenMethod · 0.80

Tested by

no test coverage detected