MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / report

Method report

compiler/src/modules/lexer/scan.rs:36–38  ·  view source on GitHub ↗
(&mut self, start: usize, end: usize, msg: &'static str)

Source from the content-addressed store, hash-verified

34
35 #[inline]
36 fn report(&mut self, start: usize, end: usize, msg: &'static str) {
37 self.errors.push(LexError { start, end, msg });
38 }
39
40 /* All inner scan loops use BYTE_CLASS indexed loads, zero branches per byte. */
41 #[inline]

Callers 6

check_digitsMethod · 0.80
scan_single_stringMethod · 0.80
scan_triple_stringMethod · 0.80
scan_fstring_bodyMethod · 0.80
handle_newlineMethod · 0.80
next_tokenMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected