Searched refs:tokenIter (Results 1 – 4 of 4) sorted by relevance
1168 auto tokenIter = includeDef.fParent->fTokens.begin(); in defineClass() local1170 std::advance(tokenIter, includeDef.fParentIndex - 1); in defineClass()1171 const Definition* priorComment = &*tokenIter; in defineClass()2446 bool IncludeParser::parseEnumConst(list<Definition>::iterator& tokenIter, in parseEnumConst() argument2448 SkASSERT(Definition::Type::kWord == tokenIter->fType); // should be enum name in parseEnumConst()2449 tokenIter = std::next(tokenIter); in parseEnumConst()2450 SkASSERT(tokenEnd != tokenIter); in parseEnumConst()2451 if (Definition::Type::kKeyWord == tokenIter->fType) { in parseEnumConst()2452 SkASSERT((unsigned) tokenIter->fKeyWord < SK_ARRAY_COUNT(kKeyWords)); in parseEnumConst()2453 SkASSERT(KeyProperty::kNumber == kKeyWords[(int) tokenIter->fKeyWord].fProperty); in parseEnumConst()[all …]
1028 auto tokenIter = child.fParent->fTokens.begin(); in structMemberOut() local1029 std::advance(tokenIter, child.fParentIndex + 1); in structMemberOut()1030 Definition* valueStart = &*tokenIter; in structMemberOut()1031 while (Definition::Type::kPunctuation != tokenIter->fType) { in structMemberOut()1032 std::advance(tokenIter, 1); in structMemberOut()1033 SkASSERT(child.fParent->fTokens.end() != tokenIter); in structMemberOut()1035 Definition* valueEnd = &*tokenIter; in structMemberOut()1072 auto tokenIter = test->fParent->fTokens.begin(); in constSizeMembers() local1073 std::advance(tokenIter, tokenIndex); in constSizeMembers()1076 std::advance(tokenIter, -1); in constSizeMembers()[all …]
1174 auto tokenIter = member->fTokens.begin(); in addCodeBlock() local1175 if (KeyWord::kEnum == member->fKeyWord && KeyWord::kClass == tokenIter->fKeyWord) { in addCodeBlock()1176 tokenIter = tokenIter->fTokens.begin(); in addCodeBlock()1178 while (Definition::Type::kWord != tokenIter->fType) { in addCodeBlock()1179 std::advance(tokenIter, 1); in addCodeBlock()1181 const auto& token = *tokenIter; in addCodeBlock()
197 bool parseEnumConst(list<Definition>::iterator& tokenIter,