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 17:33:19 +00:00
#include "Luau/Type.h"
namespace Luau
{
2022-06-17 01:54:42 +01:00
struct TypeArena;
2022-07-29 04:41:13 +01:00
struct Scope;
2022-06-03 21:32:20 +01:00
2022-02-18 00:41:20 +00:00
void quantify(TypeId ty, TypeLevel level);
2023-03-10 19:20:04 +00:00
std::optional<TypeId> quantify(TypeArena* arena, TypeId ty, Scope* scope);
} // namespace Luau