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

Method next

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

Source from the content-addressed store, hash-verified

821 }
822
823 fn next(&mut self) -> Option<char> {
824 let ch = self.peek()?;
825 self.pos += 1;
826 Some(ch)
827 }
828
829 fn skip_ws(&mut self) {
830 while matches!(self.peek(), Some(ch) if ch.is_whitespace()) {

Callers 15

tokenize_windows_commandFunction · 0.45
parse_quoted_stringMethod · 0.45
expectMethod · 0.45
parse_hunk_headerFunction · 0.45
send_streamingMethod · 0.45
send_requestMethod · 0.45
send_streamingMethod · 0.45
next_fire_afterMethod · 0.45
post_streamedMethod · 0.45
parse_git_remote_lineFunction · 0.45
sse_listenerMethod · 0.45

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected