Lines Matching refs:fTokens

97     fParent->fTokens.emplace_back(keyWord, fIncludeWord, fChar, fLineCount, fParent, '\0');  in addKeyword()
100 Definition* def = &fParent->fTokens.back(); in addKeyword()
422 auto iter = iDef.fParent->fTokens.begin(); in writeCodeBlock()
424 SkASSERT(iter != iDef.fParent->fTokens.end()); in writeCodeBlock()
484 for (auto& token : iDef.fTokens) { in writeCodeBlock()
982 for (auto& member : token.fTokens) { in checkTokens()
1103 this->checkTokens(classMapper.second.fTokens, classMapper.first, className, root, in crossCheck()
1168 auto tokenIter = includeDef.fParent->fTokens.begin(); in defineClass()
1178 auto& tokens = classDef.fTokens; in dumpClassTokens()
1225 for (const auto& child : token.fTokens) { in dumpComment()
1301 for (auto& child : token.fTokens) { in dumpDefine()
1324 for (auto& child : token.fTokens) { in dumpEnum()
1510 SkASSERT(structToken->fTokens.size() > 0); in isMember()
1511 const Definition& child = structToken->fTokens.front(); in isMember()
1532 if (std::any_of(token.fTokens.begin(), token.fTokens.end(), in dumpMethod()
1620 auto& tokens = classMap.fTokens; in dumpTokens()
1649 for (auto& token : oneClass.second.fTokens) { in dumpTokens()
1725 auto wordIter = parent->fTokens.begin(); in findCommentAfter()
1731 if (parent->fTokens.end() == wordIter) { in findCommentAfter()
1737 if (parent->fTokens.end() != wordIter && Bracket::kSlashSlash == wordIter->fBracket in findCommentAfter()
1750 auto wordIter = parent->fTokens.begin(); in findComments()
1753 while (parent->fTokens.begin() != wordIter) { in findComments()
1766 while (parent->fTokens.begin() != commentIter) { in findComments()
1832 auto& iTokens = iClass->second.fTokens; in findMethod()
1917 if (fParent->fTokens.size() < 2) { in inAlignAs()
1920 auto reverseIter = fParent->fTokens.end(); in inAlignAs()
1922 while (fParent->fTokens.begin() != reverseIter) { in inAlignAs()
1955 SkASSERT(includeDef->fTokens.size() > 0); in parseClass()
1957 auto iter = includeDef->fTokens.begin(); in parseClass()
1974 if (iter == includeDef->fTokens.end()) { in parseClass()
1978 if (iter == includeDef->fTokens.end()) { in parseClass()
2014 iter = includeDef->fTokens.begin(); in parseClass()
2020 while (iter != includeDef->fTokens.end() in parseClass()
2042 while (child->fParentIndex > keyIndex && iter != includeDef->fTokens.end()) { in parseClass()
2070 while (iter != includeDef->fTokens.end()) { in parseClass()
2131 Definition* parent = markupDef->fTokens.size() ? &markupDef->fTokens.back() : markupDef; in parseComment()
2144 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd, in parseComment()
2175 markupDef->fTokens.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2177 Definition* markupChild = &markupDef->fTokens.back(); in parseConst()
2261 globalMarkupChild->fTokens.emplace_back(MarkType::kParam, param.fStart, param.fEnd, in parseDefine()
2263 Definition* paramChild = &globalMarkupChild->fTokens.back(); in parseDefine()
2270 markupDef->fTokens.emplace_back(MarkType::kDefine, child->fContentStart, child->fContentEnd, in parseDefine()
2272 Definition* markupChild = &markupDef->fTokens.back(); in parseDefine()
2289 if (!child->fTokens.size()) { in parseEnum()
2294 auto token = parent->fTokens.begin(); in parseEnum()
2298 token = parent->fTokens.begin(); in parseEnum()
2314 markupDef->fTokens.emplace_back(MarkType::kEnum, child->fContentStart, child->fContentEnd, in parseEnum()
2316 markupChild = &markupDef->fTokens.back(); in parseEnum()
2332 if (!this->parseEnumConst(token, parent->fTokens.end(), markupChild)) { in parseEnum()
2344 markupChild->fTokens.emplace_back(MarkType::kMember, outsideMember->fContentStart, in parseEnum()
2346 Definition* member = &markupChild->fTokens.back(); in parseEnum()
2393 if (!parseOneEnumConst(memberIter->fTokens, markupChild, sawIf)) { in parseOneEnumConst()
2432 markupChild->fTokens.emplace_back(MarkType::kMember, memberStart->fContentStart, in parseOneEnumConst()
2434 Definition* markupMember = &markupChild->fTokens.back(); in parseOneEnumConst()
2461 return parseOneEnumConst(tokenIter->fTokens, markupChild, false); in parseEnumConst()
2488 markupDef->fTokens.emplace_back(MarkType::kMember, typeStart, child->fContentStart, in parseMember()
2490 Definition* markupChild = &markupDef->fTokens.back(); in parseMember()
2503 auto comment = child->fParent->fTokens.begin(); in parseMember()
2522 markupDef->fTokens.emplace_back(MarkType::kComment, start, end, child->fLineCount, in parseMember()
2524 Definition* commentChild = &markupDef->fTokens.back(); in parseMember()
2534 auto tokenIter = child->fParent->fTokens.begin(); in parseMethod()
2559 while (tokenIter != child->fParent->fTokens.begin()) { in parseMethod()
2563 if (testIter == child->fParent->fTokens.begin() && in parseMethod()
2601 auto testIter = child->fParent->fTokens.begin(); in parseMethod()
2620 if (testIter == child->fParent->fTokens.end()) { in parseMethod()
2646 auto parentIter = child->fParent->fTokens.begin(); in parseMethod()
2669 markupDef->fTokens.emplace_back(MarkType::kMethod, start, end, tokenIter->fLineCount, in parseMethod()
2671 Definition* markupChild = &markupDef->fTokens.back(); in parseMethod()
2760 auto tokenIter = child->fParent->fTokens.begin(); in parseObject()
2839 auto prev = child->fParent->fTokens.begin(); in parseObject()
2890 markupDef->fTokens.emplace_back(MarkType::kTypedef, child->fContentStart, child->fContentEnd, in parseTypedef()
2892 Definition* markupChild = &markupDef->fTokens.back(); in parseTypedef()
3027 fConstExpr->fContentEnd = fParent->fTokens.back().fContentEnd; in parseChar()
3047 braceParent->fTokens.pop_back(); in parseChar()
3112 braceParent->fTokens.pop_back(); in parseChar()
3169 if (!fParent->fTokens.size()) { in parseChar()
3173 const Definition& lastToken = fParent->fTokens.back(); in parseChar()
3182 auto lineIter = fParent->fTokens.end(); in parseChar()
3184 if (fParent->fTokens.begin() == lineIter) { in parseChar()
3189 if (lineIter->fContentStart < fLine && fParent->fTokens.end() != lineIter) { in parseChar()
3266 fConstExpr->fContentEnd = fParent->fTokens.back().fContentEnd; in parseChar()
3288 list<Definition>::iterator baseIter = fParent->fTokens.end(); in parseChar()
3289 list<Definition>::iterator namedIter = fParent->fTokens.end(); in parseChar()
3290 for (auto tokenIter = fParent->fTokens.end(); in parseChar()
3291 fParent->fTokens.begin() != tokenIter; ) { in parseChar()
3295 if (namedIter != fParent->fTokens.end()) { in parseChar()
3306 if (namedIter != fParent->fTokens.end()) { in parseChar()
3339 auto tokenWalker = fParent->fTokens.begin(); in parseChar()
3341 while (tokenWalker != fParent->fTokens.end()) { in parseChar()
3348 while (tokenWalker != fParent->fTokens.end()) { in parseChar()
3366 if (tokenWalker == fParent->fTokens.end()) { in parseChar()
3380 if (tokenWalker == fParent->fTokens.end()) { in parseChar()
3388 auto nameToken = priorEnum->fTokens.begin(); in parseChar()
3401 if (foundExpected && tokenWalker != fParent->fTokens.end()) { in parseChar()
3404 if (tokenWalker != fParent->fTokens.end()) { in parseChar()