class ObjectKey

Declaration

class ObjectKey { /* full declaration omitted */ };

Description

ObjectKey is a used to capture keys in Object. Like Value but: - only strings are allowed - it's optimized for the string literal case (Owned == nullptr) Like Value, strings must be UTF-8. See isUTF8 documentation for details.

Declared at: llvm/include/llvm/Support/JSON.h:492

Method Overview

Methods

ObjectKey(const char* S)

Declared at: llvm/include/llvm/Support/JSON.h:494

Parameters

const char* S

ObjectKey(std::string S)

Declared at: llvm/include/llvm/Support/JSON.h:495

Parameters

std::string S

ObjectKey(llvm::StringRef S)

Declared at: llvm/include/llvm/Support/JSON.h:502

Parameters

llvm::StringRef S

ObjectKey(const llvm::SmallVectorImpl<char>& V)

Declared at: llvm/include/llvm/Support/JSON.h:508

Parameters

const llvm::SmallVectorImpl<char>& V

ObjectKey(const llvm::formatv_object_base& V)

Declared at: llvm/include/llvm/Support/JSON.h:510

Parameters

const llvm::formatv_object_base& V

ObjectKey(const llvm::json::ObjectKey& C)

Declared at: llvm/include/llvm/Support/JSON.h:512

Parameters

const llvm::json::ObjectKey& C

ObjectKey(llvm::json::ObjectKey&& C)

Declared at: llvm/include/llvm/Support/JSON.h:513

Parameters

llvm::json::ObjectKey&& C

llvm::StringRef operator StringRef() const

Declared at: llvm/include/llvm/Support/JSON.h:525

std::string str() const

Declared at: llvm/include/llvm/Support/JSON.h:526