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

Function f_string_fields

crates/ruff_python_ast/src/comparable.rs:1280–1287  ·  view source on GitHub ↗
(node: &ast::ExprFString)

Source from the content-addressed store, hash-verified

1278}
1279
1280fn f_string_fields(node: &ast::ExprFString) -> ComparableInterpolatedString<'_> {
1281 let ast::ExprFString {
1282 value,
1283 range: _,
1284 node_index: _,
1285 } = node;
1286 ComparableInterpolatedString::FString(value)
1287}
1288
1289fn t_string_fields(node: &ast::ExprTString) -> ComparableInterpolatedString<'_> {
1290 let ast::ExprTString {

Callers

nothing calls this directly

Calls 1

FStringClass · 0.70

Tested by

no test coverage detected