Lines Matching refs:alternative
502 PatternAlternative* alternative = disjunction->m_alternatives[alt];
504 for (unsigned i = 0; i < alternative->m_terms.size(); ++i)
505 newAlternative->m_terms.append(copyTerm(alternative->m_terms[i]));
579 unsigned setupAlternativeOffsets(PatternAlternative* alternative, unsigned currentCallFrameSize, unsigned initialInputPosition)
581 alternative->m_hasFixedSize = true;
584 for (unsigned i = 0; i < alternative->m_terms.size(); ++i) {
585 PatternTerm& term = alternative->m_terms[i];
598 alternative->m_hasFixedSize = false;
609 alternative->m_hasFixedSize = false;
619 alternative->m_hasFixedSize = false;
642 alternative->m_hasFixedSize = false;
653 alternative->m_minimumSize = currentInputPosition - initialInputPosition;
667 PatternAlternative* alternative = disjunction->m_alternatives[alt];
668 unsigned currentAlternativeCallFrameSize = setupAlternativeOffsets(alternative, initialCallFrameSize, initialInputPosition);
669 minimumInputSize = min(minimumInputSize, alternative->m_minimumSize);
671 hasFixedSize &= alternative->m_hasFixedSize;