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

Method unparse_string_literal

crates/ruff_python_codegen/src/generator.rs:1450–1453  ·  view source on GitHub ↗
(&mut self, string_literal: &ast::StringLiteral)

Source from the content-addressed store, hash-verified

1448 }
1449
1450 fn unparse_string_literal(&mut self, string_literal: &ast::StringLiteral) {
1451 let ast::StringLiteral { value, flags, .. } = string_literal;
1452 self.p_str_repr(value, *flags);
1453 }
1454
1455 fn unparse_string_literal_value(&mut self, value: &ast::StringLiteralValue) {
1456 let mut first = true;

Callers 2

Calls 1

p_str_reprMethod · 0.80

Tested by

no test coverage detected