Lines Matching refs:testIter
1754 auto testIter = std::prev(wordIter); in findComments() local
1755 if (Definition::Type::kWord != testIter->fType in findComments()
1756 && Definition::Type::kKeyWord != testIter->fType in findComments()
1757 && (Definition::Type::kBracket != testIter->fType in findComments()
1758 || Bracket::kAngle != testIter->fBracket) in findComments()
1759 && (Definition::Type::kPunctuation != testIter->fType in findComments()
1760 || Punctuation::kAsterisk != testIter->fPunctuation)) { in findComments()
1763 wordIter = testIter; in findComments()
1767 auto testIter = std::prev(commentIter); in findComments() local
1768 bool isComment = Definition::Type::kBracket == testIter->fType in findComments()
1769 && (Bracket::kSlashSlash == testIter->fBracket in findComments()
1770 || Bracket::kSlashStar == testIter->fBracket); in findComments()
1774 commentIter = testIter; in findComments()
2560 auto testIter = std::prev(tokenIter); in parseMethod() local
2561 switch (testIter->fType) { in parseMethod()
2563 if (testIter == child->fParent->fTokens.begin() && in parseMethod()
2572 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty; in parseMethod()
2578 if (Bracket::kAngle == testIter->fBracket) { in parseMethod()
2583 if (Punctuation::kSemicolon == testIter->fPunctuation in parseMethod()
2584 || Punctuation::kLeftBrace == testIter->fPunctuation in parseMethod()
2585 || Punctuation::kColon == testIter->fPunctuation) { in parseMethod()
2589 tokenIter = testIter; in parseMethod()
2601 auto testIter = child->fParent->fTokens.begin(); in parseMethod() local
2603 std::advance(testIter, child->fParentIndex - 1); in parseMethod()
2613 std::advance(testIter, 1); in parseMethod()
2614 start = testIter->fContentStart + 1; in parseMethod()
2615 end = testIter->fContentEnd - 1; in parseMethod()
2617 end = testIter->fContentEnd; in parseMethod()
2619 std::advance(testIter, 1); in parseMethod()
2620 if (testIter == child->fParent->fTokens.end()) { in parseMethod()
2623 switch (testIter->fType) { in parseMethod()
2625 SkASSERT(Punctuation::kSemicolon == testIter->fPunctuation in parseMethod()
2626 || Punctuation::kLeftBrace == testIter->fPunctuation in parseMethod()
2627 || Punctuation::kColon == testIter->fPunctuation); in parseMethod()
2628 end = testIter->fStart; in parseMethod()
2631 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty; in parseMethod()