Home | History | Annotate | Download | only in regexp

Lines Matching defs:to_

52   Interval() : from_(kNone), to_(kNone) {}
53 Interval(int from, int to) : from_(from), to_(to) {}
60 return Interval(Min(from_, that.from_), Max(to_, that.to_));
62 bool Contains(int value) { return (from_ <= value) && (value <= to_); }
65 int to() const { return to_; }
71 int to_;
75 // Represents code units in the range from from_ to to_, both ends are
79 CharacterRange() : from_(0), to_(0) {}
103 bool Contains(uc32 i) { return from_ <= i && i <= to_; }
106 uc32 to() const { return to_; }
107 void set_to(uc32 value) { to_ = value; }
108 bool is_valid() { return from_ <= to_; }
109 bool IsEverything(uc16 max) { return from_ == 0 && to_ >= max; }
110 bool IsSingleton() { return (from_ == to_); }
129 CharacterRange(uc32 from, uc32 to) : from_(from), to_(to) {}
132 uc32 to_;