Lines Matching refs:PatternTerm
355 m_alternative->m_terms.append(PatternTerm::BOL()); in assertionBOL()
359 m_alternative->m_terms.append(PatternTerm::EOL()); in assertionEOL()
363 m_alternative->m_terms.append(PatternTerm::WordBoundary(invert)); in assertionWordBoundary()
375 m_alternative->m_terms.append(PatternTerm(ch)); in atomPatternCharacter()
382 m_alternative->m_terms.append(PatternTerm(m_pattern.digitsCharacterClass(), invert)); in atomBuiltInCharacterClass()
385 m_alternative->m_terms.append(PatternTerm(m_pattern.spacesCharacterClass(), invert)); in atomBuiltInCharacterClass()
388 m_alternative->m_terms.append(PatternTerm(m_pattern.wordcharCharacterClass(), invert)); in atomBuiltInCharacterClass()
391 m_alternative->m_terms.append(PatternTerm(m_pattern.newlineCharacterClass(), invert)); in atomBuiltInCharacterClass()
437 m_alternative->m_terms.append(PatternTerm(newCharacterClass, m_invertCharacterClass)); in atomCharacterClassEnd()
448 …m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParenthesesSubpattern, subpatternId, pa… in atomParenthesesSubpatternBegin()
456 …m_alternative->m_terms.append(PatternTerm(PatternTerm::TypeParentheticalAssertion, m_pattern.m_num… in atomParentheticalAssertionBegin()
475 m_alternative->m_terms.append(PatternTerm::ForwardReference()); in atomBackReference()
484 PatternTerm& term = currentAlternative->lastTerm(); in atomBackReference()
485 …ASSERT((term.type == PatternTerm::TypeParenthesesSubpattern) || (term.type == PatternTerm::TypePar… in atomBackReference()
487 …if ((term.type == PatternTerm::TypeParenthesesSubpattern) && term.invertOrCapture && (subpatternId… in atomBackReference()
488 m_alternative->m_terms.append(PatternTerm::ForwardReference()); in atomBackReference()
493 m_alternative->m_terms.append(PatternTerm(subpatternId)); in atomBackReference()
512 PatternTerm copyTerm(PatternTerm& term) in copyTerm()
514 …if ((term.type != PatternTerm::TypeParenthesesSubpattern) && (term.type != PatternTerm::TypeParent… in copyTerm()
515 return PatternTerm(term); in copyTerm()
517 PatternTerm termCopy = term; in copyTerm()
532 PatternTerm& term = m_alternative->lastTerm(); in quantifyAtom()
533 ASSERT(term.type > PatternTerm::TypeAssertionWordBoundary); in quantifyAtom()
541 if (term.type == PatternTerm::TypeParentheticalAssertion) { in quantifyAtom()
556 if (m_alternative->lastTerm().type == PatternTerm::TypeParenthesesSubpattern) in quantifyAtom()
585 PatternTerm& term = alternative->m_terms[i]; in setupAlternativeOffsets()
588 case PatternTerm::TypeAssertionBOL: in setupAlternativeOffsets()
589 case PatternTerm::TypeAssertionEOL: in setupAlternativeOffsets()
590 case PatternTerm::TypeAssertionWordBoundary: in setupAlternativeOffsets()
594 case PatternTerm::TypeBackReference: in setupAlternativeOffsets()
601 case PatternTerm::TypeForwardReference: in setupAlternativeOffsets()
604 case PatternTerm::TypePatternCharacter: in setupAlternativeOffsets()
614 case PatternTerm::TypeCharacterClass: in setupAlternativeOffsets()
624 case PatternTerm::TypeParenthesesSubpattern: in setupAlternativeOffsets()
645 case PatternTerm::TypeParentheticalAssertion: in setupAlternativeOffsets()