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

Method yield_expr

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

Source from the content-addressed store, hash-verified

2099
2100 #[inline]
2101 pub fn yield_expr(self) -> Option<crate::ExprYield> {
2102 match self {
2103 Self::Yield(val) => Some(val),
2104 _ => None,
2105 }
2106 }
2107
2108 #[inline]
2109 pub fn expect_yield_expr(self) -> crate::ExprYield {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected