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

Function parse_suite

crates/ruff_python_parser/src/string.rs:544–546  ·  view source on GitHub ↗
(source: &str)

Source from the content-addressed store, hash-verified

542 const UNIX_EOL: &str = "\n";
543
544 fn parse_suite(source: &str) -> Result<Suite, ParseError> {
545 parse_module(source).map(Parsed::into_suite)
546 }
547
548 fn parse_suite_with_recursion_limit(
549 source: &str,

Calls 2

parse_moduleFunction · 0.85
mapMethod · 0.45