()
| 2416 | Expression::Primary(PrimaryExpr::Identifier("u32".to_owned())) |
| 2417 | } |
| 2418 | Some(Token::U64) => { |
| 2419 | self.advance(); |
| 2420 | Expression::Primary(PrimaryExpr::Identifier("u64".to_owned())) |
| 2421 | } |
| 2422 | Some(Token::F32) => { |
| 2423 | self.advance(); |
| 2424 | Expression::Primary(PrimaryExpr::Identifier("f32".to_owned())) |
| 2425 | } |
| 2426 | Some(Token::F64) => { |
| 2427 | self.advance(); |
| 2428 | Expression::Primary(PrimaryExpr::Identifier("f64".to_owned())) |
| 2429 | } |
| 2430 | Some(Token::Bool) => { |
| 2431 | self.advance(); |
| 2432 | Expression::Primary(PrimaryExpr::Identifier("bool".to_owned())) |
| 2433 | } |
| 2434 | Some(Token::LParen) => { |
| 2435 | let mut trial = self.clone(); |
| 2436 | if let Ok(lambda) = trial.parse_lambda_expression() { |
| 2437 | *self = trial; |
| 2438 | lambda |
| 2439 | } else { |
| 2440 | self.advance(); |
| 2441 | let expr = self.parse_expression()?; |
nothing calls this directly
no test coverage detected