Match and consume a stack limit token
(&mut self)
| 653 | |
| 654 | // Match and consume a stack limit token |
| 655 | fn match_stack_limit(&mut self) -> ParseResult<()> { |
| 656 | if let Some(Token::Identifier("stack_limit")) = self.token() { |
| 657 | self.consume(); |
| 658 | return Ok(()); |
| 659 | } |
| 660 | err!(self.loc, "expected identifier: stack_limit") |
| 661 | } |
| 662 | |
| 663 | // Match and consume a block reference. |
| 664 | fn match_block(&mut self, err_msg: &str) -> ParseResult<Block> { |
no test coverage detected