|
LLVM 23.0.0git
|
A "cursor" marking a position within a Value. More...
#include "llvm/Support/JSON.h"
Classes | |
| class | Root |
| The root is the trivial Path to the root value. More... | |
Public Member Functions | |
| LLVM_ABI void | report (llvm::StringLiteral Message) |
| Records that the value at the current path is invalid. | |
| Path (Root &R) | |
| The root may be treated as a Path. | |
| Path | index (unsigned Index) const |
| Derives a path for an array element: this[Index]. | |
| Path | field (StringRef Field) const |
| Derives a path for an object field: this.Field. | |
A "cursor" marking a position within a Value.
The Value is a tree, and this is the path from the root to the current node. This is used to associate errors with particular subobjects.
|
inline |
| void llvm::json::Path::report | ( | llvm::StringLiteral | Message | ) |