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

Method as_lambda_expr_mut

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

Source from the content-addressed store, hash-verified

1782
1783 #[inline]
1784 pub fn as_lambda_expr_mut(&mut self) -> Option<&mut crate::ExprLambda> {
1785 match self {
1786 Self::Lambda(val) => Some(val),
1787 _ => None,
1788 }
1789 }
1790
1791 #[inline]
1792 pub fn as_lambda_expr(&self) -> Option<&crate::ExprLambda> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected