// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #include "Luau/Constraint.h" #include "Luau/NotNull.h" #include "Luau/Scope.h" #include "Luau/ToString.h" #include #include #include namespace Luau { struct ConstraintSolverLogger { std::string compileOutput(); void captureBoundarySnapshot(const Scope2* rootScope, std::vector>& unsolvedConstraints); void prepareStepSnapshot(const Scope2* rootScope, NotNull current, std::vector>& unsolvedConstraints); void commitPreparedStepSnapshot(); private: std::vector snapshots; std::optional preparedSnapshot; ToStringOptions opts; }; } // namespace Luau