Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Roblox
GitHub Repository: Roblox/luau
Path: blob/master/Analysis/include/Luau/AstJsonEncoder.h
2727 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 <string>
5
#include <vector>
6
7
namespace Luau
8
{
9
10
class AstNode;
11
struct Comment;
12
13
std::string toJson(AstNode* node);
14
std::string toJson(AstNode* node, const std::vector<Comment>& commentLocations);
15
16
} // namespace Luau
17
18