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

Method scan_dot_number

compiler/src/modules/lexer/scan.rs:141–147  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

139 }
140
141 fn scan_dot_number(&mut self) -> TokenType {
142 let body_start = self.pos;
143 self.scan_digits();
144 self.check_digits(body_start, self.pos, false);
145 self.scan_exponent();
146 TokenType::Float
147 }
148
149 // Strings: single, double, triple-quoted (escape-aware).
150

Callers 1

next_tokenMethod · 0.80

Calls 3

scan_digitsMethod · 0.80
check_digitsMethod · 0.80
scan_exponentMethod · 0.80

Tested by

no test coverage detected