mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
19 lines
375 B
C
19 lines
375 B
C
|
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
||
|
#pragma once
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
namespace Luau
|
||
|
{
|
||
|
|
||
|
template<typename T>
|
||
|
struct AstArray;
|
||
|
|
||
|
class AstStat;
|
||
|
|
||
|
bool containsFunctionCall(const AstStat& stat);
|
||
|
bool isFunction(const AstStat& stat);
|
||
|
void toposort(std::vector<AstStat*>& stats);
|
||
|
|
||
|
} // namespace Luau
|