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

Method parse_inferred_variable_decl

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

Source from the content-addressed store, hash-verified

346 }
347 }
348
349 fn parse_expression(&mut self) -> Result<Expression, ParserError> {
350 self.parse_assignment()
351 }
352
353 fn parse_type(&mut self) -> Result<Type, ParserError> {
354 if self.match_lbracket() {
355 let size = self.parse_array_length()?;
356 self.expect_rbracket()?;

Callers 1

parse_declarationMethod · 0.80

Calls 3

expect_identMethod · 0.80
expect_colon_equalMethod · 0.80
parse_expressionMethod · 0.80

Tested by

no test coverage detected