MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / skip_ws

Function skip_ws

nodedb-sql/src/parser/object_literal.rs:75–79  ·  view source on GitHub ↗
(chars: &[char], pos: &mut usize)

Source from the content-addressed store, hash-verified

73}
74
75fn skip_ws(chars: &[char], pos: &mut usize) {
76 while *pos < chars.len() && chars[*pos].is_ascii_whitespace() {
77 *pos += 1;
78 }
79}
80
81fn parse_ident(chars: &[char], pos: &mut usize) -> String {
82 let mut s = String::new();

Callers 4

parse_arrayFunction · 0.70
parse_objectFunction · 0.70
parse_valueFunction · 0.70

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected