ruff
4d49d5e8 - Add `eat_char2` for the lexer (#6968)

Commit
2 years ago
Add `eat_char2` for the lexer (#6968) ## Summary This PR adds a new helper method on the `Cursor` called `eat_char2` which is similar to `eat_char` but accepts 2 characters instead of 1. It'll `bump` the cursor twice if both characters are found on lookahead. ## Test Plan `cargo test`
Author
Parents
Loading