Home | History | Annotate | Download | only in src

Lines Matching refs:c0_

62     digits[i] = c0_;
63 int d = HexValue(c0_);
223 if (static_cast<unsigned>(c0_) <= 0x7f) {
224 Token::Value token = static_cast<Token::Value>(one_char_tokens[c0_]);
259 if (unicode_cache_->IsLineTerminator(c0_)) {
261 } else if (!unicode_cache_->IsWhiteSpace(c0_) &&
262 !IsLittleEndianByteOrderMark(c0_)) {
272 if (c0_ == '-' && has_line_terminator_before_next_) {
274 if (c0_ == '-') {
276 if (c0_ == '>') {
300 while (c0_ >= 0 && !unicode_cache_->IsLineTerminator(c0_)) {
310 while (c0_ >= 0 && !unicode_cache_->IsLineTerminator(c0_)) {
321 if (!unicode_cache_->IsWhiteSpace(c0_))
325 while (c0_ >= 0 && !unicode_cache_->IsWhiteSpaceOrLineTerminator(c0_) &&
326 c0_ != '=') {
327 name.AddChar(c0_);
340 if (c0_ != '=')
344 while (c0_ >= 0 && unicode_cache_->IsWhiteSpace(c0_)) {
347 while (c0_ >= 0 && !unicode_cache_->IsLineTerminator(c0_)) {
349 if (c0_ == '"' || c0_ == '\'') {
353 if (unicode_cache_->IsWhiteSpace(c0_)) {
356 value->AddChar(c0_);
360 while (c0_ >= 0 && !unicode_cache_->IsLineTerminator(c0_)) {
361 if (!unicode_cache_->IsWhiteSpace(c0_)) {
371 DCHECK(c0_ == '*');
374 while (c0_ >= 0) {
375 uc32 ch = c0_;
385 if (ch == '*' && c0_ == '/') {
386 c0_ = ' ';
398 DCHECK(c0_ == '!');
400 if (c0_ == '-') {
402 if (c0_ == '-') return SkipSingleLineComment();
406 DCHECK(c0_ == '!');
418 switch (c0_) {
438 if (c0_ == '=') {
440 } else if (c0_ == '<') {
442 } else if (c0_ == '!') {
452 if (c0_ == '=') {
454 } else if (c0_ == '>') {
457 if (c0_ == '=') {
459 } else if (c0_ == '>') {
472 if (c0_ == '=') {
474 } else if (c0_ == '>') {
484 if (c0_ == '=') {
494 if (c0_ == '+') {
496 } else if (c0_ == '=') {
506 if (c0_ == '-') {
508 if (c0_ == '>' && has_line_terminator_before_next_) {
515 } else if (c0_ == '=') {
535 if (c0_ == '/') {
537 if (c0_ == '@' || c0_ == '#') {
541 PushBack(c0_);
544 } else if (c0_ == '*') {
546 } else if (c0_ == '=') {
556 if (c0_ == '&') {
558 } else if (c0_ == '=') {
568 if (c0_ == '|') {
570 } else if (c0_ == '=') {
585 if (IsDecimalDigit(c0_)) {
637 if (unicode_cache_->IsIdentifierStart(c0_)) {
639 } else if (IsDecimalDigit(c0_)) {
643 } else if (c0_ < 0) {
682 uc32 c = c0_;
688 if (IsCarriageReturn(c) && IsLineFeed(c0_)) Advance();
690 if (IsLineFeed(c) && IsCarriageReturn(c0_)) Advance();
738 int d = c0_ - '0';
758 uc32 quote = c0_;
762 while (c0_ != quote && c0_ >= 0
763 && !unicode_cache_->IsLineTerminator(c0_)) {
764 uc32 c = c0_;
767 if (c0_ < 0 || !ScanEscape()) return Token::ILLEGAL;
772 if (c0_ != quote) return Token::ILLEGAL;
781 while (IsDecimalDigit(c0_))
787 DCHECK(IsDecimalDigit(c0_)); // the first digit of the number or the fraction
799 if (c0_ == '0') {
805 if (c0_ == 'x' || c0_ == 'X') {
809 if (!IsHexDigit(c0_)) {
813 while (IsHexDigit(c0_)) {
816 } else if (harmony_numeric_literals_ && (c0_ == 'o' || c0_ == 'O')) {
819 if (!IsOctalDigit(c0_)) {
823 while (IsOctalDigit(c0_)) {
826 } else if (harmony_numeric_literals_ && (c0_ == 'b' || c0_ == 'B')) {
829 if (!IsBinaryDigit(c0_)) {
833 while (IsBinaryDigit(c0_)) {
836 } else if ('0' <= c0_ && c0_ <= '7') {
840 if (c0_ == '8' || c0_ == '9') {
844 if (c0_ < '0' || '7' < c0_) {
857 if (c0_ == '.') {
865 if (c0_ == 'e' || c0_ == 'E') {
870 if (c0_ == '+' || c0_ == '-')
872 if (!IsDecimalDigit(c0_)) {
883 if (IsDecimalDigit(c0_) || unicode_cache_->IsIdentifierStart(c0_))
894 if (c0_ != 'u') return -1;
1029 DCHECK(unicode_cache_->IsIdentifierStart(c0_));
1032 if (c0_ == '\\') {
1044 uc32 first_char = c0_;
1049 while (unicode_cache_->IsIdentifierPart(c0_)) {
1050 if (c0_ != '\\') {
1051 uc32 next_char = c0_;
1077 while (unicode_cache_->IsIdentifierPart(c0_)) {
1078 if (c0_ == '\\') {
1088 AddLiteralChar(c0_);
1115 while (c0_ != '/' || in_character_class) {
1116 if (unicode_cache_->IsLineTerminator(c0_) || c0_ < 0) return false;
1117 if (c0_ == '\\') { // Escape sequence.
1119 if (unicode_cache_->IsLineTerminator(c0_) || c0_ < 0) return false;
1132 if (c0_ == '[') in_character_class = true;
1133 if (c0_ == ']') in_character_class = false;
1146 DCHECK(c0_ == '\\');
1150 if (c0_ == 'u') {
1154 if (!IsHexDigit(c0_)) break;
1155 chars_read[i] = c0_;
1178 while (unicode_cache_->IsIdentifierPart(c0_)) {
1179 if (c0_ != '\\') {