(self)
| 2588 | |
| 2589 | #[inline] |
| 2590 | pub fn expect_subscript_expr(self) -> crate::ExprSubscript { |
| 2591 | match self { |
| 2592 | Self::Subscript(val) => val, |
| 2593 | _ => panic!("called expect on {self:?}"), |
| 2594 | } |
| 2595 | } |
| 2596 | |
| 2597 | #[inline] |
| 2598 | pub fn as_subscript_expr_mut(&mut self) -> Option<&mut crate::ExprSubscript> { |
nothing calls this directly
no outgoing calls
no test coverage detected