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

Method expect_attribute_expr

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

Source from the content-addressed store, hash-verified

2551
2552 #[inline]
2553 pub fn expect_attribute_expr(self) -> crate::ExprAttribute {
2554 match self {
2555 Self::Attribute(val) => val,
2556 _ => panic!("called expect on {self:?}"),
2557 }
2558 }
2559
2560 #[inline]
2561 pub fn as_attribute_expr_mut(&mut self) -> Option<&mut crate::ExprAttribute> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected