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

Function string_parser_escaped_eol

crates/ruff_python_parser/src/string.rs:548–551  ·  view source on GitHub ↗
(eol: &str)

Source from the content-addressed store, hash-verified

546 }
547
548 fn string_parser_escaped_eol(eol: &str) -> Suite {
549 let source = format!(r"'text \{eol}more text'");
550 parse_suite(&source).unwrap()
551 }
552
553 #[test]
554 fn test_string_parser_escaped_unix_eol() {

Calls 1

parse_suiteFunction · 0.70