luau-analyzer-sys 0.1.1

A high-performance, embedded Luau type-checking and analysis engine written in Rust. This crate provides bindings to the Luau analyzer, allowing you to integrate static analysis and code intelligence directly into your applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once

#include "ConstantFolding.h"

namespace Luau
{

class AstNameTable;

namespace Compile
{

Constant foldBuiltin(AstNameTable& stringTable, int bfid, const Constant* args, size_t count);
Constant foldBuiltinMath(AstName index);

} // namespace Compile
} // namespace Luau