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

Method attribute_expr

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

Source from the content-addressed store, hash-verified

2543
2544 #[inline]
2545 pub fn attribute_expr(self) -> Option<crate::ExprAttribute> {
2546 match self {
2547 Self::Attribute(val) => Some(val),
2548 _ => None,
2549 }
2550 }
2551
2552 #[inline]
2553 pub fn expect_attribute_expr(self) -> crate::ExprAttribute {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected