Lines Matching refs:fTokens

98     fParent->fTokens.emplace_back(keyWord, fIncludeWord, fChar, fLineCount, fParent, '\0');  in addKeyword()
101 Definition* def = &fParent->fTokens.back(); in addKeyword()
423 auto iter = iDef.fParent->fTokens.begin(); in writeCodeBlock()
425 SkASSERT(iter != iDef.fParent->fTokens.end()); in writeCodeBlock()
485 for (auto& token : iDef.fTokens) { in writeCodeBlock()
983 for (auto& member : token.fTokens) { in checkTokens()
1104 this->checkTokens(classMapper.second.fTokens, classMapper.first, className, root, in crossCheck()
1169 auto tokenIter = includeDef.fParent->fTokens.begin(); in defineClass()
1179 auto& tokens = classDef.fTokens; in dumpClassTokens()
1226 for (const auto& child : token.fTokens) { in dumpComment()
1302 for (auto& child : token.fTokens) { in dumpDefine()
1325 for (auto& child : token.fTokens) { in dumpEnum()
1511 SkASSERT(structToken->fTokens.size() > 0); in isMember()
1512 const Definition& child = structToken->fTokens.front(); in isMember()
1533 if (std::any_of(token.fTokens.begin(), token.fTokens.end(), in dumpMethod()
1621 auto& tokens = classMap.fTokens; in dumpTokens()
1650 for (auto& token : oneClass.second.fTokens) { in dumpTokens()
1726 auto wordIter = parent->fTokens.begin(); in findCommentAfter()
1732 if (parent->fTokens.end() == wordIter) { in findCommentAfter()
1738 if (parent->fTokens.end() != wordIter && Bracket::kSlashSlash == wordIter->fBracket in findCommentAfter()
1751 auto wordIter = parent->fTokens.begin(); in findComments()
1754 while (parent->fTokens.begin() != wordIter) { in findComments()
1767 while (parent->fTokens.begin() != commentIter) { in findComments()
1833 auto& iTokens = iClass->second.fTokens; in findMethod()
1918 if (fParent->fTokens.size() < 2) { in inAlignAs()
1921 auto reverseIter = fParent->fTokens.end(); in inAlignAs()
1923 while (fParent->fTokens.begin() != reverseIter) { in inAlignAs()
1956 SkASSERT(includeDef->fTokens.size() > 0); in parseClass()
1958 auto iter = includeDef->fTokens.begin(); in parseClass()
1975 if (iter == includeDef->fTokens.end()) { in parseClass()
1979 if (iter == includeDef->fTokens.end()) { in parseClass()
2015 iter = includeDef->fTokens.begin(); in parseClass()
2021 while (iter != includeDef->fTokens.end() in parseClass()
2043 while (child->fParentIndex > keyIndex && iter != includeDef->fTokens.end()) { in parseClass()
2071 while (iter != includeDef->fTokens.end()) { in parseClass()
2132 Definition* parent = markupDef->fTokens.size() ? &markupDef->fTokens.back() : markupDef; in parseComment()
2145 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd, in parseComment()
2176 markupDef->fTokens.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2178 Definition* markupChild = &markupDef->fTokens.back(); in parseConst()
2262 globalMarkupChild->fTokens.emplace_back(MarkType::kParam, param.fStart, param.fEnd, in parseDefine()
2264 Definition* paramChild = &globalMarkupChild->fTokens.back(); in parseDefine()
2271 markupDef->fTokens.emplace_back(MarkType::kDefine, child->fContentStart, child->fContentEnd, in parseDefine()
2273 Definition* markupChild = &markupDef->fTokens.back(); in parseDefine()
2290 if (!child->fTokens.size()) { in parseEnum()
2295 auto token = parent->fTokens.begin(); in parseEnum()
2299 token = parent->fTokens.begin(); in parseEnum()
2315 markupDef->fTokens.emplace_back(MarkType::kEnum, child->fContentStart, child->fContentEnd, in parseEnum()
2317 markupChild = &markupDef->fTokens.back(); in parseEnum()
2333 if (!this->parseEnumConst(token, parent->fTokens.end(), markupChild)) { in parseEnum()
2345 markupChild->fTokens.emplace_back(MarkType::kMember, outsideMember->fContentStart, in parseEnum()
2347 Definition* member = &markupChild->fTokens.back(); in parseEnum()
2394 if (!parseOneEnumConst(memberIter->fTokens, markupChild, sawIf)) { in parseOneEnumConst()
2433 markupChild->fTokens.emplace_back(MarkType::kMember, memberStart->fContentStart, in parseOneEnumConst()
2435 Definition* markupMember = &markupChild->fTokens.back(); in parseOneEnumConst()
2462 return parseOneEnumConst(tokenIter->fTokens, markupChild, false); in parseEnumConst()
2489 markupDef->fTokens.emplace_back(MarkType::kMember, typeStart, child->fContentStart, in parseMember()
2491 Definition* markupChild = &markupDef->fTokens.back(); in parseMember()
2504 auto comment = child->fParent->fTokens.begin(); in parseMember()
2523 markupDef->fTokens.emplace_back(MarkType::kComment, start, end, child->fLineCount, in parseMember()
2525 Definition* commentChild = &markupDef->fTokens.back(); in parseMember()
2535 auto tokenIter = child->fParent->fTokens.begin(); in parseMethod()
2560 while (tokenIter != child->fParent->fTokens.begin()) { in parseMethod()
2564 if (testIter == child->fParent->fTokens.begin() && in parseMethod()
2602 auto testIter = child->fParent->fTokens.begin(); in parseMethod()
2621 if (testIter == child->fParent->fTokens.end()) { in parseMethod()
2647 auto parentIter = child->fParent->fTokens.begin(); in parseMethod()
2670 markupDef->fTokens.emplace_back(MarkType::kMethod, start, end, tokenIter->fLineCount, in parseMethod()
2672 Definition* markupChild = &markupDef->fTokens.back(); in parseMethod()
2761 auto tokenIter = child->fParent->fTokens.begin(); in parseObject()
2840 auto prev = child->fParent->fTokens.begin(); in parseObject()
2891 markupDef->fTokens.emplace_back(MarkType::kTypedef, child->fContentStart, child->fContentEnd, in parseTypedef()
2893 Definition* markupChild = &markupDef->fTokens.back(); in parseTypedef()
3028 fConstExpr->fContentEnd = fParent->fTokens.back().fContentEnd; in parseChar()
3048 braceParent->fTokens.pop_back(); in parseChar()
3113 braceParent->fTokens.pop_back(); in parseChar()
3170 if (!fParent->fTokens.size()) { in parseChar()
3174 const Definition& lastToken = fParent->fTokens.back(); in parseChar()
3183 auto lineIter = fParent->fTokens.end(); in parseChar()
3185 if (fParent->fTokens.begin() == lineIter) { in parseChar()
3190 if (lineIter->fContentStart < fLine && fParent->fTokens.end() != lineIter) { in parseChar()
3267 fConstExpr->fContentEnd = fParent->fTokens.back().fContentEnd; in parseChar()
3289 list<Definition>::iterator baseIter = fParent->fTokens.end(); in parseChar()
3290 list<Definition>::iterator namedIter = fParent->fTokens.end(); in parseChar()
3291 for (auto tokenIter = fParent->fTokens.end(); in parseChar()
3292 fParent->fTokens.begin() != tokenIter; ) { in parseChar()
3296 if (namedIter != fParent->fTokens.end()) { in parseChar()
3307 if (namedIter != fParent->fTokens.end()) { in parseChar()
3340 auto tokenWalker = fParent->fTokens.begin(); in parseChar()
3342 while (tokenWalker != fParent->fTokens.end()) { in parseChar()
3349 while (tokenWalker != fParent->fTokens.end()) { in parseChar()
3367 if (tokenWalker == fParent->fTokens.end()) { in parseChar()
3381 if (tokenWalker == fParent->fTokens.end()) { in parseChar()
3389 auto nameToken = priorEnum->fTokens.begin(); in parseChar()
3402 if (foundExpected && tokenWalker != fParent->fTokens.end()) { in parseChar()
3405 if (tokenWalker != fParent->fTokens.end()) { in parseChar()