Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ peek
Method
peek
core/src/tools/builtin/bash.rs:819–821 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
817
}
818
819
fn peek(&self) -> Option<char> {
820
self.chars.get(self.pos).copied()
821
}
822
823
fn next(&mut self) -> Option<char> {
824
let ch = self.peek()?;
Callers
6
next
Method · 0.80
parse_value
Method · 0.80
parse_object
Method · 0.80
parse_array
Method · 0.80
parse_bare_key
Method · 0.80
parse_bare_token
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected