Home | History | Annotate | Download | only in yarr

Lines Matching refs:alternative

938             // Nope - okay backtrack looking for an alternative.
996 int offset = currentTerm().alternative.end;
1121 int offset = currentTerm().alternative.next;
1138 int offset = currentTerm().alternative.next;
1145 // We should never backtrack back into an alternative of the main body of the regex.
1395 if (!m_bodyDisjunction->terms[beginTerm].alternative.next)
1398 while (m_bodyDisjunction->terms[beginTerm].alternative.next) {
1399 beginTerm += m_bodyDisjunction->terms[beginTerm].alternative.next;
1401 m_bodyDisjunction->terms[beginTerm].alternative.end = endIndex - beginTerm;
1405 m_bodyDisjunction->terms[beginTerm].alternative.next = origBeginTerm - beginTerm;
1421 while (m_bodyDisjunction->terms[beginTerm].alternative.next) {
1422 beginTerm += m_bodyDisjunction->terms[beginTerm].alternative.next;
1424 m_bodyDisjunction->terms[beginTerm].alternative.end = endIndex - beginTerm;
1428 m_bodyDisjunction->terms[beginTerm].alternative.next = origBeginTerm - beginTerm;
1496 m_bodyDisjunction->terms[m_currentAlternativeIndex].alternative.next = newAlternativeIndex - m_currentAlternativeIndex;
1505 m_bodyDisjunction->terms[m_currentAlternativeIndex].alternative.next = newAlternativeIndex - m_currentAlternativeIndex;
1523 PatternAlternative* alternative = disjunction->m_alternatives[alt];
1524 unsigned minimumSize = alternative->m_minimumSize;
1532 for (unsigned i = 0; i < alternative->m_terms.size(); ++i) {
1533 PatternTerm& term = alternative->m_terms[i];