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
#include "Luau/Type.h"
namespace Luau
{
2022-06-16 21:05:14 -04:00
struct TypeArena;
2022-07-29 00:24:07 -04:00
struct Scope;
2022-02-17 20:18:01 -05:00
void quantify(TypeId ty, TypeLevel level);
std::optional<TypeId> quantify(TypeArena* arena, TypeId ty, Scope* scope);
} // namespace Luau