Home | History | Annotate | Download | only in src

Lines Matching refs:c0_

67     digits[i] = c0_;
68 int d = HexValue(c0_);
228 if (static_cast<unsigned>(c0_) <= 0x7f) {
229 Token::Value token = static_cast<Token::Value>(one_char_tokens[c0_]);
262 while (unicode_cache_->IsWhiteSpace(c0_) || IsByteOrderMark(c0_)) {
264 if (unicode_cache_->IsLineTerminator(c0_)) {
276 if (c0_ == '-' && has_line_terminator_before_next_) {
278 if (c0_ == '-') {
280 if (c0_ == '>') {
304 while (c0_ >= 0 && !unicode_cache_->IsLineTerminator(c0_)) {
313 ASSERT(c0_ == '*');
316 while (c0_ >= 0) {
317 uc32 ch = c0_;
327 if (ch == '*' && c0_ == '/') {
328 c0_ = ' ';
340 ASSERT(c0_ == '!');
342 if (c0_ == '-') {
344 if (c0_ == '-') return SkipSingleLineComment();
348 ASSERT(c0_ == '!');
360 switch (c0_) {
380 if (c0_ == '=') {
382 } else if (c0_ == '<') {
384 } else if (c0_ == '!') {
394 if (c0_ == '=') {
396 } else if (c0_ == '>') {
399 if (c0_ == '=') {
401 } else if (c0_ == '>') {
414 if (c0_ == '=') {
424 if (c0_ == '=') {
434 if (c0_ == '+') {
436 } else if (c0_ == '=') {
446 if (c0_ == '-') {
448 if (c0_ == '>' && has_line_terminator_before_next_) {
455 } else if (c0_ == '=') {
475 if (c0_ == '/') {
477 } else if (c0_ == '*') {
479 } else if (c0_ == '=') {
489 if (c0_ == '&') {
491 } else if (c0_ == '=') {
501 if (c0_ == '|') {
503 } else if (c0_ == '=') {
518 if (IsDecimalDigit(c0_)) {
570 if (unicode_cache_->IsIdentifierStart(c0_)) {
572 } else if (IsDecimalDigit(c0_)) {
576 } else if (c0_ < 0) {
615 uc32 c = c0_;
621 if (IsCarriageReturn(c) && IsLineFeed(c0_)) Advance();
623 if (IsLineFeed(c) && IsCarriageReturn(c0_)) Advance();
670 int d = c0_ - '0';
690 uc32 quote = c0_;
694 while (c0_ != quote && c0_ >= 0
695 && !unicode_cache_->IsLineTerminator(c0_)) {
696 uc32 c = c0_;
699 if (c0_ < 0) return Token::ILLEGAL;
705 if (c0_ != quote) return Token::ILLEGAL;
714 while (IsDecimalDigit(c0_))
720 ASSERT(IsDecimalDigit(c0_)); // the first digit of the number or the fraction
732 if (c0_ == '0') {
737 if (c0_ == 'x' || c0_ == 'X') {
741 if (!IsHexDigit(c0_)) {
745 while (IsHexDigit(c0_)) {
748 } else if ('0' <= c0_ && c0_ <= '7') {
752 if (c0_ == '8' || c0_ == '9') {
756 if (c0_ < '0' || '7' < c0_) {
769 if (c0_ == '.') {
777 if (c0_ == 'e' || c0_ == 'E') {
782 if (c0_ == '+' || c0_ == '-')
784 if (!IsDecimalDigit(c0_)) {
795 if (IsDecimalDigit(c0_) || unicode_cache_->IsIdentifierStart(c0_))
806 if (c0_ != 'u') return -1;
925 ASSERT(unicode_cache_->IsIdentifierStart(c0_));
928 if (c0_ == '\\') {
940 uc32 first_char = c0_;
945 while (unicode_cache_->IsIdentifierPart(c0_)) {
946 if (c0_ != '\\') {
947 uc32 next_char = c0_;
972 while (unicode_cache_->IsIdentifierPart(c0_)) {
973 if (c0_ == '\\') {
983 AddLiteralChar(c0_);
1010 while (c0_ != '/' || in_character_class) {
1011 if (unicode_cache_->IsLineTerminator(c0_) || c0_ < 0) return false;
1012 if (c0_ == '\\') { // Escape sequence.
1014 if (unicode_cache_->IsLineTerminator(c0_) || c0_ < 0) return false;
1027 if (c0_ == '[') in_character_class = true;
1028 if (c0_ == ']') in_character_class = false;
1041 ASSERT(c0_ == '\\');
1045 if (c0_ == 'u') {
1049 if (!IsHexDigit(c0_)) break;
1050 chars_read[i] = c0_;
1073 while (unicode_cache_->IsIdentifierPart(c0_)) {
1074 if (c0_ != '\\') {