Lines Matching refs:alternatives
45 return ListCaptureRegisters(alternatives()); in CaptureRegisters()
106 ZoneList<RegExpTree*>* alternatives = this->alternatives(); in IsAnchoredAtStart() local
107 for (int i = 0; i < alternatives->length(); i++) { in IsAnchoredAtStart()
108 if (!alternatives->at(i)->IsAnchoredAtStart()) return false; in IsAnchoredAtStart()
115 ZoneList<RegExpTree*>* alternatives = this->alternatives(); in IsAnchoredAtEnd() local
116 for (int i = 0; i < alternatives->length(); i++) { in IsAnchoredAtEnd()
117 if (!alternatives->at(i)->IsAnchoredAtEnd()) return false; in IsAnchoredAtEnd()
154 for (int i = 0; i < that->alternatives()->length(); i++) { in VisitDisjunction()
156 that->alternatives()->at(i)->Accept(this, data); in VisitDisjunction()
304 RegExpDisjunction::RegExpDisjunction(ZoneList<RegExpTree*>* alternatives) in RegExpDisjunction() argument
305 : alternatives_(alternatives) { in RegExpDisjunction()
306 DCHECK_LT(1, alternatives->length()); in RegExpDisjunction()
307 RegExpTree* first_alternative = alternatives->at(0); in RegExpDisjunction()
310 for (int i = 1; i < alternatives->length(); i++) { in RegExpDisjunction()
311 RegExpTree* alternative = alternatives->at(i); in RegExpDisjunction()