Lines Matching refs:currentEnumItem
471 const Definition* IncludeWriter::enumMemberForComment(const Definition* currentEnumItem) const { in enumMemberForComment()
472 for (auto constItem : currentEnumItem->fChildren) { in enumMemberForComment()
481 string IncludeWriter::enumMemberComment(const Definition* currentEnumItem, in enumMemberComment() argument
485 for (auto constItem : currentEnumItem->fChildren) { in enumMemberComment()
492 currentEnumItem->reportError<void>("missing #Line or #Deprecated or #Experimental"); in enumMemberComment()
499 const Definition** currentEnumItem) { in enumMemberName() argument
503 *currentEnumItem = this->matchMemberName(item->fName, child); in enumMemberName()
518 void IncludeWriter::enumMemberOut(const Definition* currentEnumItem, const Definition& child, in enumMemberOut() argument
520 SkASSERT(currentEnumItem); in enumMemberOut()
521 string shortComment = this->enumMemberComment(currentEnumItem, child); in enumMemberOut()
548 this->enumMemberForComment(currentEnumItem)->reportError<void>("comment too long"); in enumMemberOut()
551 this->enumMemberForComment(currentEnumItem)->reportError<void>("comment 2 long"); in enumMemberOut()
600 const Definition* currentEnumItem = nullptr; in enumMembersOut() local
619 state = this->enumMemberName(child, &token, &item, &last, ¤tEnumItem); in enumMembersOut()
629 if (ItemState::kNone != state && currentEnumItem) { in enumMembersOut()
630 this->enumMemberOut(currentEnumItem, child, item, preprocessor); in enumMembersOut()
636 SkASSERT(ItemState::kNone == state || !currentEnumItem); in enumMembersOut()
644 state = this->enumMemberName(child, nullptr, &item, &last, ¤tEnumItem); in enumMembersOut()
646 if ((ItemState::kValue == state || ItemState::kComment == state) && currentEnumItem) { in enumMembersOut()
647 this->enumMemberOut(currentEnumItem, child, item, preprocessor); in enumMembersOut()