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

Method as_subscript_expr_mut

crates/ruff_python_ast/src/generated.rs:2598–2603  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2596
2597 #[inline]
2598 pub fn as_subscript_expr_mut(&mut self) -> Option<&mut crate::ExprSubscript> {
2599 match self {
2600 Self::Subscript(val) => Some(val),
2601 _ => None,
2602 }
2603 }
2604
2605 #[inline]
2606 pub fn as_subscript_expr(&self) -> Option<&crate::ExprSubscript> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected