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

Method parse_while_statement

crates/hll-to-ir/src/parser.rs:596–601  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

594
595 // Parse an impl block; function members desugar to flat `Type_name`
596 // functions, `const`/`type` members become one `AssociatedItems` node.
597 fn parse_impl_block(&mut self, exported: bool) -> Result<Vec<Declaration>, ParserError> {
598 self.advance(); // `impl`
599 let type_name = self.expect_ident()?;
600 let (owner_generics, owner_bounds) = self.parse_generic_params_with_bounds()?;
601 self.expect_lbrace()?;
602 self.consume_terminators();
603
604 let mut methods = Vec::new();

Callers 1

parse_statementMethod · 0.80

Calls 3

expect_whileMethod · 0.80
parse_expressionMethod · 0.80
parse_blockMethod · 0.80

Tested by

no test coverage detected