Home | History | Annotate | Download | only in src

Lines Matching refs:Yield

2310     Expression* yield = factory()->NewYield(
2311 generator, return_value, Yield::FINAL, pos);
2312 result = factory()->NewExpressionStatement(yield, pos);
2916 if (peek() == Token::YIELD && is_generator()) {
2990 // 'yield' '*'? AssignmentExpression
2992 Expect(Token::YIELD, CHECK_OK);
2993 Yield::Kind kind =
2994 Check(Token::MUL) ? Yield::DELEGATING : Yield::SUSPEND;
2998 Yield* yield = factory()->NewYield(generator_object, expression, kind, pos);
2999 if (kind == Yield::DELEGATING) {
3000 yield->set_index(current_function_state_->NextHandlerIndex());
3002 return yield;
3499 case Token::YIELD:
3561 case Token::YIELD:
4097 // in a temporary variable, a definition that is used by "yield"
4256 // For generators, allocate and yield an iterator on function entry.
4270 Yield* yield = factory()->NewYield(
4271 get_proxy, assignment, Yield::INITIAL, RelocInfo::kNoPosition);
4273 yield, RelocInfo::kNoPosition), zone());
4283 Yield* yield = factory()->NewYield(
4284 get_proxy, undefined, Yield::FINAL, RelocInfo::kNoPosition);
4286 yield, RelocInfo::kNoPosition), zone());
4456 next == Token::YIELD;
4516 (next == Token::YIELD && !is_generator())))) {
4534 (next == Token::YIELD && !is_generator())) {