Lines Matching refs:ranges
5206 ZoneList<CharacterRange>* ranges =
5208 CharacterRange::AddClassEscape('.', ranges);
5209 RegExpTree* atom = new(zone()) RegExpCharacterClass(ranges, false);
5277 ZoneList<CharacterRange>* ranges =
5279 CharacterRange::AddClassEscape(c, ranges);
5280 RegExpTree* atom = new(zone()) RegExpCharacterClass(ranges, false);
5749 // Adds range or pre-defined character class to character ranges.
5752 static inline void AddRangeOrEscape(ZoneList<CharacterRange>* ranges,
5756 CharacterRange::AddClassEscape(char_class, ranges);
5758 ranges->Add(range);
5774 ZoneList<CharacterRange>* ranges = new(zone()) ZoneList<CharacterRange>(2);
5785 AddRangeOrEscape(ranges, char_class, first);
5786 ranges->Add(CharacterRange::Singleton('-'));
5793 AddRangeOrEscape(ranges, char_class, first);
5794 ranges->Add(CharacterRange::Singleton('-'));
5795 AddRangeOrEscape(ranges, char_class_2, next);
5801 ranges->Add(CharacterRange::Range(first.from(), next.to()));
5803 AddRangeOrEscape(ranges, char_class, first);
5810 if (ranges->length() == 0) {
5811 ranges->Add(CharacterRange::Everything());
5814 return new(zone()) RegExpCharacterClass(ranges, is_negated);