// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include "Luau/Id.h" #include namespace Luau::EqSat { /// See . struct UnionFind final { Id makeSet(); Id find(Id id) const; void merge(Id a, Id b); private: std::vector parents; }; } // namespace Luau::EqSat