Home | History | Annotate | Download | only in yarr

Lines Matching refs:PatternTerm

355         m_alternative->m_terms.append(PatternTerm::BOL());
359 m_alternative->m_terms.append(PatternTerm::EOL());
363 m_alternative->m_terms.append(PatternTerm::WordBoundary(invert));
375 m_alternative->m_terms.append(PatternTerm(ch));
382 m_alternative->m_terms.append(PatternTerm(m_pattern.digitsCharacterClass(), invert));
385 m_alternative->m_terms.append(PatternTerm(m_pattern.spacesCharacterClass(), invert));
388 m_alternative->m_terms.append(PatternTerm(m_pattern.wordcharCharacterClass(), invert));
391 m_alternative->m_terms.append(PatternTerm(m_pattern.newlineCharacterClass(), invert));
437 m_alternative->m_terms.append(PatternTerm(newCharacterClass, m_invertCharacterClass));
448 m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, parenthesesDisjunction, capture));
456 m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParentheticalAssertion, m_pattern.m_numSubpatterns + 1, parenthesesDisjunction, invert));
475 m_alternative->m_terms.append(PatternTerm::ForwardReference());
484 PatternTerm& term = currentAlternative->lastTerm();
485 ASSERT((term.type == PatternTerm::TypeParenthesesSubpattern) || (term.type == PatternTerm::TypeParentheticalAssertion));
487 if ((term.type == PatternTerm::TypeParenthesesSubpattern) && term.invertOrCapture && (subpatternId == term.subpatternId)) {
488 m_alternative->m_terms.append(PatternTerm::ForwardReference());
493 m_alternative->m_terms.append(PatternTerm(subpatternId));
512 PatternTerm copyTerm(PatternTerm& term)
514 if ((term.type != PatternTerm::TypeParenthesesSubpattern) && (term.type != PatternTerm::TypeParentheticalAssertion))
515 return PatternTerm(term);
517 PatternTerm termCopy = term;
532 PatternTerm& term = m_alternative->lastTerm();
533 ASSERT(term.type > PatternTerm::TypeAssertionWordBoundary);
541 if (term.type == PatternTerm::TypeParentheticalAssertion) {
556 if (m_alternative->lastTerm().type == PatternTerm::TypeParenthesesSubpattern)
585 PatternTerm& term = alternative->m_terms[i];
588 case PatternTerm::TypeAssertionBOL:
589 case PatternTerm::TypeAssertionEOL:
590 case PatternTerm::TypeAssertionWordBoundary:
594 case PatternTerm::TypeBackReference:
601 case PatternTerm::TypeForwardReference:
604 case PatternTerm::TypePatternCharacter:
614 case PatternTerm::TypeCharacterClass:
624 case PatternTerm::TypeParenthesesSubpattern:
645 case PatternTerm::TypeParentheticalAssertion: