/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/torque/ls/json-parser.h
25 строк
633 B
Michaël Zasso
deps: update V8 to 12.9.202.18
19 сен 2024, 17:25
19 сен 2024, 17:25
5ab3140
Код
Авторство
О чём код?
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_TORQUE_LS_JSON_PARSER_H_ #define V8_TORQUE_LS_JSON_PARSER_H_ #include <optional> #include "src/base/macros.h" #include "src/torque/ls/json.h" #include "src/torque/utils.h" namespace v8::internal::torque::ls { struct JsonParserResult { JsonValue value; std::optional<TorqueMessage> error; }; V8_EXPORT_PRIVATE JsonParserResult ParseJson(const std::string& input); } // namespace v8::internal::torque::ls #endif // V8_TORQUE_LS_JSON_PARSER_H_