| 2472 | } |
| 2473 | |
| 2474 | bool hasChild(const std::string &childName) const { |
| 2475 | return std::any_of(children.cbegin(), children.cend(), [&](const ScopeInfo3& child) { |
| 2476 | return child.name == childName; |
| 2477 | }); |
| 2478 | } |
| 2479 | |
| 2480 | const ScopeInfo3 * findInChildren(const std::string & scope) const { |
| 2481 | for (const auto & child : children) { |