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

Method subscript_expr

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

Source from the content-addressed store, hash-verified

2580
2581 #[inline]
2582 pub fn subscript_expr(self) -> Option<crate::ExprSubscript> {
2583 match self {
2584 Self::Subscript(val) => Some(val),
2585 _ => None,
2586 }
2587 }
2588
2589 #[inline]
2590 pub fn expect_subscript_expr(self) -> crate::ExprSubscript {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected