Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ scan_bin_digits
Method
scan_bin_digits
compiler/src/modules/lexer/scan.rs:89–91 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
87
self.scan_while(|b| matches!(b, b
'0'
..=b
'7'
| b
'_'
));
88
}
89
fn scan_bin_digits(&mut self) {
90
self.scan_while(|b| matches!(b, b
'0'
| b
'1'
| b
'_'
));
91
}
92
93
#[inline(always)]
94
fn at(&self, offset: usize) -> Option<u8> {
Callers
1
scan_number
Method · 0.80
Calls
1
scan_while
Method · 0.80
Tested by
no test coverage detected