LLVM 20.0.0git
Public Member Functions | List of all members
llvm::json::ObjectKey Class Reference

ObjectKey is a used to capture keys in Object. More...

#include "llvm/Support/JSON.h"

Public Member Functions

 ObjectKey (const char *S)
 
 ObjectKey (std::string S)
 
 ObjectKey (llvm::StringRef S)
 
 ObjectKey (const llvm::SmallVectorImpl< char > &V)
 
 ObjectKey (const llvm::formatv_object_base &V)
 
 ObjectKey (const ObjectKey &C)
 
 ObjectKey (ObjectKey &&C)
 
ObjectKeyoperator= (const ObjectKey &C)
 
ObjectKeyoperator= (ObjectKey &&)=default
 
 operator llvm::StringRef () const
 
std::string str () const
 

Detailed Description

ObjectKey is a used to capture keys in Object.

Like Value but:

Definition at line 578 of file JSON.h.

Constructor & Destructor Documentation

◆ ObjectKey() [1/7]

llvm::json::ObjectKey::ObjectKey ( const char S)
inline

Definition at line 580 of file JSON.h.

◆ ObjectKey() [2/7]

llvm::json::ObjectKey::ObjectKey ( std::string  S)
inline

Definition at line 581 of file JSON.h.

References assert(), llvm::json::fixUTF8(), llvm::json::isUTF8(), LLVM_UNLIKELY, and string.

◆ ObjectKey() [3/7]

llvm::json::ObjectKey::ObjectKey ( llvm::StringRef  S)
inline

Definition at line 588 of file JSON.h.

References assert(), llvm::json::fixUTF8(), llvm::json::isUTF8(), and LLVM_UNLIKELY.

◆ ObjectKey() [4/7]

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

Definition at line 594 of file JSON.h.

References string.

◆ ObjectKey() [5/7]

llvm::json::ObjectKey::ObjectKey ( const llvm::formatv_object_base V)
inline

Definition at line 596 of file JSON.h.

◆ ObjectKey() [6/7]

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

Definition at line 598 of file JSON.h.

References llvm::CallingConv::C.

◆ ObjectKey() [7/7]

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

Definition at line 599 of file JSON.h.

Member Function Documentation

◆ operator llvm::StringRef()

llvm::json::ObjectKey::operator llvm::StringRef ( ) const
inline

Definition at line 611 of file JSON.h.

◆ operator=() [1/2]

ObjectKey & llvm::json::ObjectKey::operator= ( const ObjectKey C)
inline

Definition at line 600 of file JSON.h.

References llvm::CallingConv::C.

◆ operator=() [2/2]

ObjectKey & llvm::json::ObjectKey::operator= ( ObjectKey &&  )
default

◆ str()

std::string llvm::json::ObjectKey::str ( ) const
inline

Definition at line 612 of file JSON.h.

References llvm::StringRef::str().


The documentation for this class was generated from the following file: