Lines Matching refs:Object

24 Value &Object::operator[](const ObjectKey &K) {  in operator []()
27 Value &Object::operator[](ObjectKey &&K) { in operator []()
30 Value *Object::get(StringRef K) { in get()
36 const Value *Object::get(StringRef K) const { in get()
42 std::optional<std::nullptr_t> Object::getNull(StringRef K) const { in getNull()
47 std::optional<bool> Object::getBoolean(StringRef K) const { in getBoolean()
52 std::optional<double> Object::getNumber(StringRef K) const { in getNumber()
57 std::optional<int64_t> Object::getInteger(StringRef K) const { in getInteger()
62 std::optional<llvm::StringRef> Object::getString(StringRef K) const { in getString()
67 const json::Object *Object::getObject(StringRef K) const { in getObject()
72 json::Object *Object::getObject(StringRef K) { in getObject()
77 const json::Array *Object::getArray(StringRef K) const { in getArray()
82 json::Array *Object::getArray(StringRef K) { in getArray()
87 bool operator==(const Object &LHS, const Object &RHS) { in operator ==()
126 create<json::Object>(M.as<json::Object>()); in copyFrom()
152 create<json::Object>(std::move(M.as<json::Object>())); in moveFrom()
177 as<json::Object>().~Object(); in destroy()
205 case Value::Object: in operator ==()
245 std::vector<const Object::value_type *> sortedElements(const Object &O) { in sortedElements()
246 std::vector<const Object::value_type *> Elements; in sortedElements()
250 [](const Object::value_type *L, const Object::value_type *R) { in sortedElements()
264 case Value::Object: in abbreviate()
293 case Value::Object: in abbreviateChildren()
329 const Object *O = V.getAsObject(); in printErrorContext()
466 Out = Object{}; in parseValue()
467 Object &O = *Out.getAsObject(); in parseValue()
783 case Value::Object: in value()
785 for (const Object::value_type *E : sortedElements(*V.getAsObject())) in value()
792 assert(Stack.back().Ctx != Object && "Only attributes allowed here"); in valueBegin()
862 Stack.back().Ctx = Object; in objectBegin()
868 assert(Stack.back().Ctx == Object); in objectEnd()
879 assert(Stack.back().Ctx == Object); in attributeBegin()
903 assert(Stack.back().Ctx == Object); in attributeEnd()