pub fn lex(source: &str, mode: Mode) -> Lexer<'_>
Create a new Lexer for the given source code and Mode.
Lexer
Mode