Lines Matching refs:CharacterRange
79 class CharacterRange {
81 CharacterRange() : from_(0), to_(0) {} in CharacterRange() function
83 CharacterRange(void* null) { DCHECK_NULL(null); } // NOLINT in CharacterRange() function
84 static void AddClassEscape(char type, ZoneList<CharacterRange>* ranges,
87 static void AddClassEscape(char type, ZoneList<CharacterRange>* ranges,
90 static inline CharacterRange Singleton(uc32 value) { in Singleton()
91 return CharacterRange(value, value); in Singleton()
93 static inline CharacterRange Range(uc32 from, uc32 to) { in Range()
96 return CharacterRange(from, to); in Range()
98 static inline CharacterRange Everything() { in Everything()
99 return CharacterRange(0, String::kMaxCodePoint); in Everything()
101 static inline ZoneList<CharacterRange>* List(Zone* zone, in List()
102 CharacterRange range) { in List()
103 ZoneList<CharacterRange>* list = in List()
104 new (zone) ZoneList<CharacterRange>(1, zone); in List()
117 ZoneList<CharacterRange>* ranges,
121 static bool IsCanonical(ZoneList<CharacterRange>* ranges);
126 static void Canonicalize(ZoneList<CharacterRange>* ranges);
128 static void Negate(ZoneList<CharacterRange>* src,
129 ZoneList<CharacterRange>* dst, Zone* zone);
134 CharacterRange(uc32 from, uc32 to) : from_(from), to_(to) {} in CharacterRange() function
145 explicit CharacterSet(ZoneList<CharacterRange>* ranges) in CharacterSet()
147 ZoneList<CharacterRange>* ranges(Zone* zone);
156 ZoneList<CharacterRange>* ranges_;
309 Zone* zone, ZoneList<CharacterRange>* ranges, JSRegExp::Flags flags,
316 ranges->Add(CharacterRange::Everything(), zone); in set_()
351 ZoneList<CharacterRange>* ranges(Zone* zone) { return set_.ranges(zone); } in ranges()