Function 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.