pub fn tokenize_with_text(s: &str) -> impl Iterator<Item = (TokenKind, &str)>
Expand description

Tokenizes the input while keeping the text associated with each token.