| 78 | return nullptr; |
| 79 | } |
| 80 | bool operator==(const Object &LHS, const Object &RHS) { |
| 81 | if (LHS.size() != RHS.size()) |
| 82 | return false; |
| 83 | for (const auto &L : LHS) { |
| 84 | auto R = RHS.find(L.first); |
| 85 | if (R == RHS.end() || L.second != R->second) |
| 86 | return false; |
| 87 | } |
| 88 | return true; |
| 89 | } |
| 90 | |
| 91 | Array::Array(std::initializer_list<Value> Elements) { |
| 92 | V.reserve(Elements.size()); |
nothing calls this directly
no test coverage detected