Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Roblox
GitHub Repository: Roblox/luau
Path: blob/master/Compiler/src/BuiltinFolding.h
2725 views
1
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
2
#pragma once
3
4
#include "ConstantFolding.h"
5
6
namespace Luau
7
{
8
9
class AstNameTable;
10
11
namespace Compile
12
{
13
14
Constant foldBuiltin(AstNameTable& stringTable, int bfid, const Constant* args, size_t count);
15
Constant foldBuiltinMath(AstName index);
16
17
} // namespace Compile
18
} // namespace Luau
19
20