2021-10-29 16:25:12 -04:00
|
|
|
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
2022-07-21 17:16:54 -04:00
|
|
|
#include <vector>
|
2021-10-29 16:25:12 -04:00
|
|
|
|
|
|
|
namespace Luau
|
|
|
|
{
|
|
|
|
|
|
|
|
class AstNode;
|
2022-07-21 17:16:54 -04:00
|
|
|
struct Comment;
|
2021-10-29 16:25:12 -04:00
|
|
|
|
|
|
|
std::string toJson(AstNode* node);
|
2022-07-21 17:16:54 -04:00
|
|
|
std::string toJson(AstNode* node, const std::vector<Comment>& commentLocations);
|
2021-10-29 16:25:12 -04:00
|
|
|
|
|
|
|
} // namespace Luau
|