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

Method expect_f_string_expr

crates/ruff_python_ast/src/generated.rs:2257–2262  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2255
2256 #[inline]
2257 pub fn expect_f_string_expr(self) -> crate::ExprFString {
2258 match self {
2259 Self::FString(val) => val,
2260 _ => panic!("called expect on {self:?}"),
2261 }
2262 }
2263
2264 #[inline]
2265 pub fn as_f_string_expr_mut(&mut self) -> Option<&mut crate::ExprFString> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected