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 ==()
247 std::vector<const Object::value_type *> sortedElements(const Object &O) { in sortedElements()
248 std::vector<const Object::value_type *> Elements; in sortedElements()
252 [](const Object::value_type *L, const Object::value_type *R) { in sortedElements()
266 case Value::Object: in abbreviate()
295 case Value::Object: in abbreviateChildren()
333 const Object *O = V.getAsObject(); in printErrorContext()
469 Out = Object{}; in parseValue()
470 Object &O = *Out.getAsObject(); in parseValue()
787 case Value::Object: in value()
789 for (const Object::value_type *E : sortedElements(*V.getAsObject())) in value()
796 assert(Stack.back().Ctx != Object && "Only attributes allowed here"); in valueBegin()
866 Stack.back().Ctx = Object; in objectBegin()
872 assert(Stack.back().Ctx == Object); in objectEnd()
883 assert(Stack.back().Ctx == Object); in attributeBegin()
907 assert(Stack.back().Ctx == Object); in attributeEnd()