Lines Matching refs:next
63 // Returns and advances past the next UTF-16 code unit in the input
71 // Returns and advances past the next UTF-16 code unit in the input stream
283 // Returns the next token and advances input.
320 Token::Value peek() const { return next().token; }
322 const Location& peek_location() const { return next().location; }
329 return LiteralContainsEscapes(next());
352 DCHECK(next().CanAccessLiteral());
359 base::Vector<const uint8_t> next = next_literal_one_byte_string();
360 const char* chars = reinterpret_cast<const char*>(next.begin());
361 return next.length() == N - 1 && strncmp(s, chars, N - 1) == 0;
394 return next().after_line_terminator;
403 // Scans the input as a regular expression pattern, next token must be /(=).
411 DCHECK_EQ(next().token, Token::RBRACE);
412 DCHECK_EQ(source_pos() - 1, next().location.beg_pos);
512 next().literal_chars.AddChar(c);
515 V8_INLINE void AddLiteralChar(char c) { next().literal_chars.AddChar(c); }
518 next().raw_literal_chars.AddChar(c);
568 inline Token::Value Select(base::uc32 next, Token::Value then,
571 if (c0_ == next) {
606 // Returns the literal string for the next token (the token that
609 DCHECK(next().CanAccessLiteral());
610 return next().literal_chars.one_byte_literal();
613 DCHECK(next().CanAccessLiteral());
614 return next().literal_chars.two_byte_literal();
617 DCHECK(next().CanAccessLiteral());
618 return next().literal_chars.is_one_byte();
644 // Performance hack: pass through a pre-calculated "next()" value to avoid
646 // to hoist the next() calculation out of the inlined Scan method, but seems
714 TokenDesc& next() { return *next_; }
717 const TokenDesc& next() const { return *next_; }
723 TokenDesc* next_; // desc for next token (one token look-ahead)
724 TokenDesc* next_next_; // desc for the token after next (after PeakAhead())