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
- public ObjectKey(const char * S)
- public ObjectKey(std::string S)
- public ObjectKey(llvm::StringRef S)
- public ObjectKey(const llvm::SmallVectorImpl<char> & V)
- public ObjectKey(const llvm::formatv_object_base & V)
- public ObjectKey(const llvm::json::ObjectKey & C)
- public ObjectKey(llvm::json::ObjectKey && C)
- public llvm::StringRef operator StringRef() const
- public std::string str() const
Methods
¶ObjectKey(const char* S)
ObjectKey(const char* S)
Declared at: llvm/include/llvm/Support/JSON.h:494
Parameters
- const char* S
¶ObjectKey(std::string S)
ObjectKey(std::string S)
Declared at: llvm/include/llvm/Support/JSON.h:495
Parameters
¶ObjectKey(llvm::StringRef S)
ObjectKey(llvm::StringRef S)
Declared at: llvm/include/llvm/Support/JSON.h:502
Parameters
¶ObjectKey(const llvm::SmallVectorImpl<char>& V)
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)
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)
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)
ObjectKey(llvm::json::ObjectKey&& C)
Declared at: llvm/include/llvm/Support/JSON.h:513
Parameters
¶llvm::StringRef operator StringRef() const
llvm::StringRef operator StringRef() const
Declared at: llvm/include/llvm/Support/JSON.h:525
¶std::string str() const
std::string str() const
Declared at: llvm/include/llvm/Support/JSON.h:526