MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / test_basic_declaration

Function test_basic_declaration

crates/hll-to-ir/src/lexer.rs:407–418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405 }
406 }
407
408 fn skip_whitespace_except_newline(&mut self) {
409 while let Some(&c) = self.chars.peek() {
410 if c.is_whitespace() && c != '\n' {
411 self.advance();
412 } else {
413 break;
414 }
415 }
416 }
417
418 fn skip_comment(&mut self) {
419 while let Some(&c) = self.chars.peek() {
420 if c == '\n' {
421 break;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected