(&mut self)
| 145 | } |
| 146 | |
| 147 | fn parse_pledge_assertion_only(&mut self) -> syn::Result<(Option<ExpressionWithoutId>, AssertionWithoutId)> { |
| 148 | let mut reference = None; |
| 149 | if self.contains_operator(&self.tokens, "=>") { |
| 150 | reference = Some(self.parse_rust_until("=>")?); |
| 151 | self.consume_operator("=>"); |
| 152 | } |
| 153 | |
| 154 | let assertion = self.parse_prusti()?; |
| 155 | |
| 156 | Ok((reference, assertion)) |
| 157 | } |
| 158 | |
| 159 | /// Parse a prusti expression |
| 160 | fn parse_prusti(&mut self) -> syn::Result<AssertionWithoutId> { |
no test coverage detected