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

Method peek_byte

crates/sith_python_parser/src/string.rs:106–108  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

104
105 #[inline]
106 fn peek_byte(&self) -> Option<u8> {
107 self.source[self.cursor..].as_bytes().first().copied()
108 }
109
110 fn parse_unicode_literal(&mut self, literal_number: usize) -> Result<char, LexicalError> {
111 let mut p: u32 = 0u32;

Callers 3

parse_octetMethod · 0.80
parse_escaped_charMethod · 0.80
parse_fstring_middleMethod · 0.80

Calls 1

firstMethod · 0.45

Tested by

no test coverage detected