| 2467 | std::set<std::string> baseTypes; |
| 2468 | |
| 2469 | ScopeInfo3 *addChild(Type scopeType, std::string scopeName, const Token *bodyStartToken, const Token *bodyEndToken) { |
| 2470 | children.emplace_back(this, scopeType, std::move(scopeName), bodyStartToken, bodyEndToken); |
| 2471 | return &children.back(); |
| 2472 | } |
| 2473 | |
| 2474 | bool hasChild(const std::string &childName) const { |
| 2475 | return std::any_of(children.cbegin(), children.cend(), [&](const ScopeInfo3& child) { |