Home | History | Annotate | Download | only in yarr

Lines Matching full:subpatternid

120             unsigned firstSubpatternId = term.atom.subpatternId;
504 int matchBegin = output[(term.atom.subpatternId << 1)];
505 int matchEnd = output[(term.atom.subpatternId << 1) + 1];
547 int matchBegin = output[(term.atom.subpatternId << 1)];
548 int matchEnd = output[(term.atom.subpatternId << 1) + 1];
584 unsigned subpatternId = term.atom.subpatternId;
585 output[(subpatternId << 1)] = context->getDisjunctionContext(term)->matchBegin + term.inputPosition;
586 output[(subpatternId << 1) + 1] = context->getDisjunctionContext(term)->matchEnd + term.inputPosition;
591 unsigned firstSubpatternId = term.atom.subpatternId;
597 unsigned firstSubpatternId = term.atom.subpatternId;
641 unsigned subpatternId = term.atom.subpatternId;
642 output[(subpatternId << 1)] = input.getPos() + term.inputPosition;
654 unsigned subpatternId = term.atom.subpatternId;
655 output[(subpatternId << 1) + 1] = input.getPos() + term.inputPosition;
668 unsigned subpatternId = term.atom.subpatternId;
669 output[(subpatternId << 1)] = -1;
670 output[(subpatternId << 1) + 1] = -1;
707 unsigned subpatternId = term.atom.subpatternId;
708 output[(subpatternId << 1) + 1] = input.getPos() + term.inputPosition;
782 unsigned subpatternId = term.atom.subpatternId;
785 backTrack->prevBegin = output[(subpatternId << 1)];
786 backTrack->prevEnd = output[(subpatternId << 1) + 1];
858 unsigned subpatternId = term.atom.subpatternId;
859 output[(subpatternId << 1)] = backTrack->prevBegin;
860 output[(subpatternId << 1) + 1] = backTrack->prevEnd;
1258 ParenthesesStackEntry(unsigned beginTerm, unsigned savedAlternativeIndex/*, unsigned subpatternId, bool capture = false*/)
1326 void atomBackReference(unsigned subpatternId, int inputPosition, unsigned frameLocation, unsigned quantityCount, QuantifierType quantityType)
1328 ASSERT(subpatternId);
1330 m_bodyDisjunction->terms.append(ByteTerm::BackReference(subpatternId, inputPosition));
1337 void atomParenthesesSubpatternBegin(unsigned subpatternId, bool capture, int inputPosition, unsigned frameLocation, unsigned alternativeFrameLocation)
1341 m_bodyDisjunction->terms.append(ByteTerm(ByteTerm::TypeParenthesesSubpatternOnceBegin, subpatternId, capture, inputPosition));
1350 void atomParentheticalAssertionBegin(unsigned subpatternId, bool invert, unsigned frameLocation, unsigned alternativeFrameLocation)
1354 m_bodyDisjunction->terms.append(ByteTerm(ByteTerm::TypeParentheticalAssertionBegin, subpatternId, invert, 0));
1442 unsigned subpatternId = m_bodyDisjunction->terms[beginTerm].atom.subpatternId;
1444 m_bodyDisjunction->terms.append(ByteTerm(isAssertion ? ByteTerm::TypeParentheticalAssertionEnd : ByteTerm::TypeParenthesesSubpatternOnceEnd, subpatternId, invertOrCapture, inputPosition));
1459 unsigned subpatternId = parenthesesBegin.atom.subpatternId;
1461 unsigned numSubpatterns = lastSubpatternId - subpatternId + 1;
1472 m_bodyDisjunction->terms.append(ByteTerm(ByteTerm::TypeParenthesesSubpattern, subpatternId, parenthesesDisjunction, invertOrCapture, inputPosition));
1557 atomBackReference(term.subpatternId, term.inputPosition - currentCountAlreadyChecked, term.frameLocation, term.quantityCount, term.quantityType);
1569 atomParenthesesSubpatternBegin(term.parentheses.subpatternId, term.invertOrCapture, delegateEndInputOffset - disjunctionAlreadyCheckedCount, term.frameLocation, term.frameLocation);
1574 atomParenthesesSubpatternBegin(term.parentheses.subpatternId, term.invertOrCapture, delegateEndInputOffset - disjunctionAlreadyCheckedCount, term.frameLocation, term.frameLocation + RegexStackSpaceForBackTrackInfoParenthesesOnce);
1580 atomParenthesesSubpatternBegin(term.parentheses.subpatternId, term.invertOrCapture, delegateEndInputOffset - disjunctionAlreadyCheckedCount, term.frameLocation, 0);
1590 atomParentheticalAssertionBegin(term.parentheses.subpatternId, term.invertOrCapture, term.frameLocation, alternativeFrameLocation);