1 Generators (yield expression)
13 $data = (yield $value);
14 $data = (yield $key => $value);
16 // yield in language constructs with their own parentheses
17 if (yield $foo); elseif (yield $foo);
18 if (yield $foo): elseif (yield $foo): endif;
20 do {} while (yield $foo);
21 switch (yield $foo) {}
24 // yield in function calls
26 $foo->func(yield $foo);
30 yield from $foo and yield from $bar;
31 yield from $foo + $bar;
105 value: Expr_Variable(
115 value: Expr_Variable(
125 0: // yield in language constructs with their own parentheses
131 value: Expr_Variable(
141 value: Expr_Variable(
154 value: Expr_Variable(
164 value: Expr_Variable(
174 value: Expr_Variable(
184 value: Expr_Variable(
195 0: // yield in function calls
202 value: Expr_Variable(
211 0: // yield in function calls
223 value: Expr_Variable(
242 value: Expr_Variable(
256 16: Expr_BinaryOp_LogicalAnd(
257 left: Expr_YieldFrom(
262 right: Expr_YieldFrom(
269 expr: Expr_BinaryOp_Plus(
273 right: Expr_Variable(