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

Function t_string_fields

crates/ruff_python_ast/src/comparable.rs:1289–1296  ·  view source on GitHub ↗
(node: &ast::ExprTString)

Source from the content-addressed store, hash-verified

1287}
1288
1289fn t_string_fields(node: &ast::ExprTString) -> ComparableInterpolatedString<'_> {
1290 let ast::ExprTString {
1291 value,
1292 range: _,
1293 node_index: _,
1294 } = node;
1295 ComparableInterpolatedString::TString(value)
1296}
1297
1298fn string_literal_fields(node: &ast::ExprStringLiteral) -> &str {
1299 let ast::ExprStringLiteral {

Callers

nothing calls this directly

Calls 1

TStringClass · 0.85

Tested by

no test coverage detected