MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / next_byte

Method next_byte

crates/sith_python_parser/src/string.rs:91–96  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

89 /// When the next byte is a part of a multi-byte character.
90 #[inline]
91 fn next_byte(&mut self) -> Option<u8> {
92 self.source[self.cursor..].as_bytes().first().map(|&byte| {
93 self.cursor += 1;
94 byte
95 })
96 }
97
98 #[inline]
99 fn next_char(&mut self) -> Option<char> {

Callers 2

parse_octetMethod · 0.80
parse_escaped_charMethod · 0.80

Calls 1

firstMethod · 0.45

Tested by

no test coverage detected