Home | History | Annotate | Download | only in bookmaker

Lines Matching refs:testIter

1755         auto testIter = std::prev(wordIter);
1756 if (Definition::Type::kWord != testIter->fType
1757 && Definition::Type::kKeyWord != testIter->fType
1758 && (Definition::Type::kBracket != testIter->fType
1759 || Bracket::kAngle != testIter->fBracket)
1760 && (Definition::Type::kPunctuation != testIter
1761 || Punctuation::kAsterisk != testIter->fPunctuation)) {
1764 wordIter = testIter;
1768 auto testIter = std::prev(commentIter);
1769 bool isComment = Definition::Type::kBracket == testIter->fType
1770 && (Bracket::kSlashSlash == testIter->fBracket
1771 || Bracket::kSlashStar == testIter->fBracket);
1775 commentIter = testIter;
2561 auto testIter = std::prev(tokenIter);
2562 switch (testIter->fType) {
2564 if (testIter == child->fParent->fTokens.begin() &&
2573 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty;
2579 if (Bracket::kAngle == testIter->fBracket) {
2584 if (Punctuation::kSemicolon == testIter->fPunctuation
2585 || Punctuation::kLeftBrace == testIter->fPunctuation
2586 || Punctuation::kColon == testIter->fPunctuation) {
2590 tokenIter = testIter;
2602 auto testIter = child->fParent->fTokens.begin();
2604 std::advance(testIter, child->fParentIndex - 1);
2614 std::advance(testIter, 1);
2615 start = testIter->fContentStart + 1;
2616 end = testIter->fContentEnd - 1;
2618 end = testIter->fContentEnd;
2620 std::advance(testIter, 1);
2621 if (testIter == child->fParent->fTokens.end()) {
2624 switch (testIter->fType) {
2626 SkASSERT(Punctuation::kSemicolon == testIter->fPunctuation
2627 || Punctuation::kLeftBrace == testIter->fPunctuation
2628 || Punctuation::kColon == testIter->fPunctuation);
2629 end = testIter->fStart;
2632 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty;