llvm/lldb/source/Utility/StructuredData.cpp

//===-- StructuredData.cpp ------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Utility/StructuredData.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/MemoryBuffer.h"
#include <cerrno>
#include <cinttypes>
#include <cstdlib>

usingnamespacelldb_private;
usingnamespacellvm;

static StructuredData::ObjectSP ParseJSONValue(json::Value &value);
static StructuredData::ObjectSP ParseJSONObject(json::Object *object);
static StructuredData::ObjectSP ParseJSONArray(json::Array *array);

StructuredData::ObjectSP StructuredData::ParseJSON(llvm::StringRef json_text) {}

StructuredData::ObjectSP
StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Status &error) {}

bool StructuredData::IsRecordType(const ObjectSP object_sp) {}

static StructuredData::ObjectSP ParseJSONValue(json::Value &value) {}

static StructuredData::ObjectSP ParseJSONObject(json::Object *object) {}

static StructuredData::ObjectSP ParseJSONArray(json::Array *array) {}

StructuredData::ObjectSP
StructuredData::Object::GetObjectForDotSeparatedPath(llvm::StringRef path) {}

void StructuredData::Object::DumpToStdout(bool pretty_print) const {}

void StructuredData::Array::Serialize(json::OStream &s) const {}

void StructuredData::Float::Serialize(json::OStream &s) const {}

void StructuredData::Boolean::Serialize(json::OStream &s) const {}

void StructuredData::String::Serialize(json::OStream &s) const {}

void StructuredData::Dictionary::Serialize(json::OStream &s) const {}

void StructuredData::Null::Serialize(json::OStream &s) const {}

void StructuredData::Generic::Serialize(json::OStream &s) const {}

void StructuredData::Float::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::Boolean::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::String::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::Array::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::Dictionary::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::Null::GetDescription(lldb_private::Stream &s) const {}

void StructuredData::Generic::GetDescription(lldb_private::Stream &s) const {}