luau/Analysis/include/Luau/JsonEncoder.h

17 lines
355 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 <string>
2022-07-21 22:16:54 +01:00
#include <vector>
namespace Luau
{
class AstNode;
2022-07-21 22:16:54 +01:00
struct Comment;
std::string toJson(AstNode* node);
2022-07-21 22:16:54 +01:00
std::string toJson(AstNode* node, const std::vector<Comment>& commentLocations);
} // namespace Luau