MCPcopy Create free account
hub / github.com/astral-sh/ruff / lex_source_with_offset

Function lex_source_with_offset

crates/ruff_python_parser/src/lexer.rs:1709–1711  ·  view source on GitHub ↗
(source: &str, start_offset: TextSize)

Source from the content-addressed store, hash-verified

1707
1708 #[track_caller]
1709 fn lex_source_with_offset(source: &str, start_offset: TextSize) -> LexerOutput {
1710 lex_valid(source, Mode::Module, start_offset)
1711 }
1712
1713 #[track_caller]
1714 fn lex_jupyter_source(source: &str) -> LexerOutput {

Callers

nothing calls this directly

Calls 1

lex_validFunction · 0.85

Tested by

no test coverage detected