// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include "Luau/DenseHash.h" #include "Luau/Ast.h" #include namespace Luau { struct FragmentAutocompleteAncestryResult { DenseHashMap localMap{AstName()}; std::vector localStack; std::vector ancestry; AstStat* nearestStatement; }; FragmentAutocompleteAncestryResult findAncestryForFragmentParse(AstStatBlock* root, const Position& cursorPos); } // namespace Luau