Take the token value from the underlying token source and bump the current token. # Panics If the current token is not of the given kind.
(&mut self, kind: TokenKind)
| 333 | /// |
| 334 | /// If the current token is not of the given kind. |
| 335 | fn bump_value(&mut self, kind: TokenKind) -> TokenValue { |
| 336 | let value = self.tokens.take_value(); |
| 337 | self.bump(kind); |
| 338 | value |
| 339 | } |
| 340 | |
| 341 | /// Bumps the current token assuming it is found in the given token set. |
| 342 | /// |
no test coverage detected