tokenize_borrowed

Function tokenize_borrowed 

Source
pub fn tokenize_borrowed(src: &str) -> Result<Vec<BorrowedToken<'_>>, LexError>
Expand description

Tokenize the entire input returning zero-copy tokens that borrow from src. Strings are validated (including escapes) but their contents are not unescaped; the returned &str is the raw slice between quotes.