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:553–556  ·  view source on GitHub ↗
(eol: &str)

Source from the content-addressed store, hash-verified

551 }
552
553 fn string_parser_escaped_eol(eol: &str) -> Suite {
554 let source = format!(r"'text \{eol}more text'");
555 parse_suite(&source).unwrap()
556 }
557
558 #[test]
559 fn test_string_parser_escaped_unix_eol() {

Calls 1

parse_suiteFunction · 0.70