LLVM: llvm::json::ObjectKey Class Reference (original) (raw)
ObjectKey is a used to capture keys in Object. More...
#include "[llvm/Support/JSON.h](JSON%5F8h%5Fsource.html)"
| 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) | |
| ObjectKey & | operator= (const ObjectKey &C) |
| ObjectKey & | operator= (ObjectKey &&)=default |
| operator llvm::StringRef () const | |
| std::string | str () const |
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.
Definition at line 590 of file JSON.h.
| llvm::json::ObjectKey::ObjectKey ( const char * S) | inline |
|---|
◆ ObjectKey() [2/7]
| llvm::json::ObjectKey::ObjectKey ( std::string S) | inline |
|---|
◆ ObjectKey() [3/7]
◆ ObjectKey() [4/7]
◆ ObjectKey() [5/7]
◆ ObjectKey() [6/7]
◆ ObjectKey() [7/7]
| llvm::json::ObjectKey::ObjectKey ( ObjectKey && C) | inline |
|---|
◆ operator llvm::StringRef()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ str()
| std::string llvm::json::ObjectKey::str ( ) const | inline |
|---|
The documentation for this class was generated from the following file:
- include/llvm/Support/JSON.h