Function rustpython_parser::lexer::lex_starts_at
source · pub fn lex_starts_at(
source: &str,
mode: Mode,
start_offset: TextSize
) -> SoftKeywordTransformer<Lexer<Chars<'_>>>
Expand description
Create a new lexer from a source string, starting at a given location.
You probably want to use lex
instead.