v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
json-parser.h
Go to the documentation of this file.
1// Copyright 2019 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_TORQUE_LS_JSON_PARSER_H_
6#define V8_TORQUE_LS_JSON_PARSER_H_
7
8#include <optional>
9
10#include "src/base/macros.h"
11#include "src/torque/ls/json.h"
12#include "src/torque/utils.h"
13
15
18 std::optional<TorqueMessage> error;
19};
20
21V8_EXPORT_PRIVATE JsonParserResult ParseJson(const std::string& input);
22
23} // namespace v8::internal::torque::ls
24
25#endif // V8_TORQUE_LS_JSON_PARSER_H_
JsonParserResult ParseJson(const std::string &input)
#define V8_EXPORT_PRIVATE
Definition macros.h:460
std::optional< TorqueMessage > error
Definition json-parser.h:18