|
||||||||||||
|
|
||||||||||||
YieldA Function (or method) containing one or more yield statements is called a generator. A Yield statement is used to return values from enumeration produced by a generator function.
A Yield statement may not appear inside `` yield := "yield" expr-listvalues [ stmt-modifier ] ";"
|
||||||||||||
|
|
||||||||||||