Lines Matching defs:const
61 bool Contains(int value) const { return (from_ <= value) && (value <= to_); }
62 bool is_empty() const { return from_ == kNone; }
63 int from() const { return from_; }
64 int to() const { return to_; }
65 int size() const { return to_ - from_ + 1; }
124 bool Contains(base::uc32 i) const { return from_ <= i && i <= to_; }
125 base::uc32 from() const { return from_; }
126 base::uc32 to() const { return to_; }
127 bool IsEverything(base::uc32 max) const { return from_ == 0 && to_ >= max; }
128 bool IsSingleton() const { return from_ == to_; }
162 static const int kInfinity = kMaxInt;
196 ZoneList<RegExpTree*>* alternatives() const { return alternatives_; }
219 ZoneList<RegExpTree*>* nodes() const { return nodes_; }
247 Type assertion_type() const { return assertion_type_; }
250 const Type assertion_type_;
260 StandardCharacterSet standard_set_type() const {
266 bool is_standard() const { return standard_set_type_.has_value(); }
315 StandardCharacterSet standard_type() const {
319 CharacterSet character_set() const { return set_; }
322 bool is_negated() const { return (character_class_flags_ & NEGATED) != 0; }
323 bool contains_split_surrogate() const {
334 explicit RegExpAtom(base::Vector<const base::uc16> data) : data_(data) {}
343 base::Vector<const base::uc16> data() const { return data_; }
344 int length() const { return data_.length(); }
347 base::Vector<const base::uc16> data_;
357 int cp_offset() const { return cp_offset_; }
359 int length() const;
361 TextType text_type() const { return text_type_; }
363 RegExpTree* tree() const { return tree_; }
365 RegExpAtom* atom() const {
370 RegExpCharacterClass* char_class() const {
434 int min() const { return min_; }
435 int max() const { return max_; }
436 QuantifierType quantifier_type() const { return quantifier_type_; }
437 bool is_possessive() const { return quantifier_type_ == POSSESSIVE; }
438 bool is_non_greedy() const { return quantifier_type_ == NON_GREEDY; }
439 bool is_greedy() const { return quantifier_type_ == GREEDY; }
440 RegExpTree* body() const { return body_; }
476 int index() const { return index_; }
477 const ZoneVector<base::uc16>* name() const { return name_; }
478 void set_name(const ZoneVector<base::uc16>* name) { name_ = name; }
487 const ZoneVector<base::uc16>* name_ = nullptr;
504 RegExpTree* body() const { return body_; }
530 RegExpTree* body() const { return body_; }
531 bool is_positive() const { return is_positive_; }
532 int capture_count() const { return capture_count_; }
533 int capture_from() const { return capture_from_; }
534 Type type() const { return type_; }
541 RegExpNode* on_match_success() const { return on_match_success_; }
573 int index() const { return capture_->index(); }
574 RegExpCapture* capture() const { return capture_; }
576 const ZoneVector<base::uc16>* name() const { return name_; }
577 void set_name(const ZoneVector<base::uc16>* name) { name_ = name; }
581 const ZoneVector<base::uc16>* name_ = nullptr;
582 const RegExpFlags flags_;