MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / skip_ws

Method skip_ws

native/watchos/src/models.rs:605–610  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

603 let c = self.peek()?; self.pos += 1; Some(c)
604 }
605 fn skip_ws(&mut self) {
606 while let Some(c) = self.peek() {
607 if c == b' ' || c == b'\t' || c == b'\n' || c == b'\r' { self.pos += 1; }
608 else { break; }
609 }
610 }
611 fn val(&mut self) -> Option<JVal> {
612 self.skip_ws();
613 match self.peek()? {

Callers 3

valMethod · 0.80
objMethod · 0.80
arrMethod · 0.80

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected