Lines Matching defs:next
523 // Record whether the next (=== immediately following) function literal is
887 Token::Value next = scanner()->Next();
888 USE(next);
890 DCHECK_IMPLIES(!has_error(), next == token);
894 Token::Value next = scanner()->peek();
895 if (next == token) {
896 Consume(next);
903 Token::Value next = Next();
904 if (V8_UNLIKELY(next != token)) {
905 ReportUnexpectedToken(next);
1367 // Parse a C-style for loop: 'for (<init>; <cond>; <next>) { ... }'
1372 StatementT* next, StatementT* body);
1586 // This struct is used to move information about the next arrow function from
1658 Token::Value next, ParsePropertyInfo* prop_info) {
1660 if (V8_LIKELY(base::IsInRange(next, Token::IDENTIFIER, Token::ASYNC))) {
1670 if (!Token::IsValidIdentifier(next, language_mode(), is_generator(),
1672 ReportUnexpectedToken(next);
1678 if (next == Token::AWAIT) {
1688 ParserBase<Impl>::ParseAndClassifyIdentifier(Token::Value next) {
1690 DCHECK_EQ(scanner()->current_token(), next);
1691 if (V8_LIKELY(base::IsInRange(next, Token::IDENTIFIER, Token::ASYNC))) {
1702 if (!Token::IsValidIdentifier(next, language_mode(), is_generator(),
1704 ReportUnexpectedToken(next);
1708 if (next == Token::AWAIT) {
1714 DCHECK(Token::IsStrictReservedWord(next));
1723 Token::Value next = Next();
1726 next, language_mode(), IsGeneratorFunction(function_kind),
1729 ReportUnexpectedToken(next);
1752 Token::Value next = Next();
1753 if (V8_LIKELY(Token::IsPropertyName(next))) {
1758 ReportUnexpectedToken(next);
1768 Token::Value next = Next();
1769 if (V8_LIKELY(Token::IsPropertyName(next))) {
1772 } else if (next == Token::PRIVATE_NAME) {
1792 ReportUnexpectedToken(next);
3071 // Hackily disambiguate o from o.next and o [Symbol.iterator]().
3400 Token::Value next = Next();
3401 return factory()->NewCountOperation(next, false /* postfix */, expression,
4517 // If next token is not `=>`, it's a syntax error anyways.
4740 // If we haven't seen the constructor yet, it potentially is the next
4937 Token::Value next;
4944 next = peek();
4957 // If we didn't die parsing that expression, our next token should be a
4959 next = scanner()->ScanTemplateContinuation();
4964 impl()->AddTemplateSpan(&ts, is_valid, next == Token::TEMPLATE_TAIL);
4965 } while (next == Token::TEMPLATE_SPAN);
4967 DCHECK_IMPLIES(!has_error(), next == Token::TEMPLATE_TAIL);
5995 // for (<init>; <cond>; <next>) { ... }
6124 StatementT next = impl()->NullStatement();
6127 ParseStandardForLoop(stmt_pos, labels, own_labels, &cond, &next, &body);
6129 loop->Initialize(init, cond, next, body);
6253 // The condition and the next statement of the for loop must be parsed
6258 StatementT next = impl()->NullStatement();
6264 ParseStandardForLoop(stmt_pos, labels, own_labels, &cond, &next, &body);
6274 loop, init, cond, next, body, inner_scope, *for_info);
6298 loop->Initialize(impl()->NullStatement(), cond, next, body);
6302 loop->Initialize(init, cond, next, body);
6310 StatementT* next, StatementT* body) {
6322 *next = factory()->NewExpressionStatement(exp, exp->position());
6358 // Two suspends: one for next() and one for return()