Lines Matching refs:YIELD
224 // is used by yield expressions and return statements. It is not necessary
358 next == Token::YIELD;
620 static PreParserIdentifier Yield() {
851 // except for eval, arguments, yield, and reserved keywords.
1044 Yield::Kind yield_kind,
1624 case Token::YIELD:
1652 (next == Token::YIELD && !is_generator()))) {
1671 (next == Token::YIELD && !this->is_generator())) {
1687 next != Token::LET && next != Token::YIELD &&
1785 case Token::YIELD:
2146 if (peek() == Token::YIELD && is_generator()) {
2209 // 'yield' ([no line terminator] '*'? AssignmentExpression)?
2211 Expect(Token::YIELD, CHECK_OK);
2215 Yield::Kind kind = Yield::kSuspend;
2217 if (Check(Token::MUL)) kind = Yield::kDelegating;
2229 // a Yield::kSuspend operation, given only one look-ahead token.
2230 if (kind == Yield::kSuspend)
2232 DCHECK_EQ(Yield::kDelegating, kind);
2239 if (kind == Yield::kDelegating) {
2243 typename Traits::Type::YieldExpression yield =
2245 if (kind == Yield::kDelegating) {
2246 yield->set_index(function_state_->NextHandlerIndex());
2248 return yield;