MCPcopy Index your code
hub / github.com/RustPython/RustPython / parse_fstring_literal_element

Function parse_fstring_literal_element

crates/codegen/src/string_parser.rs:290–297  ·  view source on GitHub ↗
(
    source: Box<str>,
    flags: ast::AnyStringFlags,
)

Source from the content-addressed store, hash-verified

288}
289
290pub(crate) fn parse_fstring_literal_element(
291 source: Box<str>,
292 flags: ast::AnyStringFlags,
293) -> Box<Wtf8> {
294 StringParser::new(source, flags)
295 .parse_fstring_middle()
296 .unwrap_or_else(|x| match x {})
297}

Callers 1

Calls 2

newFunction · 0.85
parse_fstring_middleMethod · 0.80

Tested by

no test coverage detected