MCPcopy Index your code
hub / github.com/AI45Lab/Code / skip_ws

Method skip_ws

core/src/tools/builtin/bash.rs:829–833  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

827 }
828
829 fn skip_ws(&mut self) {
830 while matches!(self.peek(), Some(ch) if ch.is_whitespace()) {
831 self.pos += 1;
832 }
833 }
834
835 fn parse_value(&mut self) -> Option<String> {
836 self.skip_ws();

Callers 5

parse_valueMethod · 0.80
parse_objectMethod · 0.80
parse_arrayMethod · 0.80
expectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected