Lines Matching refs:Generator
30 // Test basic generator syntax.
72 // You can have a generator in strict mode.
81 // Generator expression.
84 // Named generator expression.
87 // You can have a generator without a yield.
94 // Generator definitions with a name of "yield" are not specifically ruled out
95 // by the spec, as the `yield' name is outside the generator itself. However,
115 // Yield is only a keyword in the body of the generator, not in nested
119 // Yield in a generator is not an identifier.
129 // The name of the NFE is bound in the generator expression, so is invalid.