Return a Some containing the first of the given token that matches the current input or
None if none do.
Return a Some containing the first of the given token that matches the current input or
None if none do.
If a match is found, the tokenizer is advanced to after the match. Otherwise the tokenizer does not move.
This method can be used to easily match all symbolic tokens in one swoop. It can not be used to match alphanumeric keywords as you wouldn't want to match "def" when the input is "definitely".