luau/Analysis/include/Luau/Quantify.h

16 lines
345 B
C
Raw Normal View History

// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
2023-01-03 19:33:19 +02:00
#include "Luau/Type.h"
namespace Luau
{
2022-06-16 17:54:42 -07:00
struct TypeArena;
2022-07-28 20:41:13 -07:00
struct Scope;
2022-06-03 13:32:20 -07:00
2022-02-17 16:41:20 -08:00
void quantify(TypeId ty, TypeLevel level);
2023-03-10 11:20:04 -08:00
std::optional<TypeId> quantify(TypeArena* arena, TypeId ty, Scope* scope);
} // namespace Luau