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

Method expect_lambda_expr

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

Source from the content-addressed store, hash-verified

1774
1775 #[inline]
1776 pub fn expect_lambda_expr(self) -> crate::ExprLambda {
1777 match self {
1778 Self::Lambda(val) => val,
1779 _ => panic!("called expect on {self:?}"),
1780 }
1781 }
1782
1783 #[inline]
1784 pub fn as_lambda_expr_mut(&mut self) -> Option<&mut crate::ExprLambda> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected