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

Function skip_jsws

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

Source from the content-addressed store, hash-verified

134
135/// Advance past `\s*`.
136#[inline]
137fn skip_jsws(s: &[u8], mut i: usize) -> usize {
138 loop {
139 let l = jsws_len(s, i);
140 if l == 0 {
141 return i;
142 }
143 i += l;
144 }
145}
146
147/// End of the `\w+` run starting at `i` (caller checks `is_word_at(s, i)`).

Callers 13

fnptr_paren_tailFunction · 0.85
close_call_tailFunction · 0.85
scan_fntype_typedefsFunction · 0.85
scan_inline_structsFunction · 0.85
modifier_positionsFunction · 0.85
init_bodyFunction · 0.85
array_table_bodyFunction · 0.85
field_assign_atFunction · 0.85
scan_dispatchFunction · 0.85
arrow_tailFunction · 0.85
scan_array_dispatchFunction · 0.85
first_typedFunction · 0.85

Calls 1

jsws_lenFunction · 0.85

Tested by

no test coverage detected