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

Class TString

crates/ruff_python_ast/src/nodes.rs:1292–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290#[derive(Clone, Debug, PartialEq)]
1291#[cfg_attr(feature = "get-size", derive(get_size2::GetSize))]
1292pub struct TString {
1293 pub range: TextRange,
1294 pub node_index: AtomicNodeIndex,
1295 pub elements: InterpolatedStringElements,
1296 pub flags: TStringFlags,
1297}
1298
1299impl TString {
1300 pub fn quote_style(&self) -> Quote {

Callers 13

needs_parenthesesMethod · 0.85
partsMethod · 0.85
as_expression_refMethod · 0.85
fromMethod · 0.85
try_fromMethod · 0.85
nextMethod · 0.85
next_backMethod · 0.85
fromMethod · 0.85
fromMethod · 0.85
as_expr_refMethod · 0.85
from_raw_partsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected