| 311 | } |
| 312 | |
| 313 | const Object::VTable::PropertyItem* Object::findProperty(const VTable& vtable, std::string_view propertyName) |
| 314 | { |
| 315 | auto it = std::lower_bound(vtable.properties.begin(), vtable.properties.end(), propertyName, [](const auto& propertyItem, const auto& propertyName) |
| 316 | { |
| 317 | return propertyItem.name < propertyName; |
| 318 | }); |
| 319 | |
| 320 | return it != vtable.properties.end() && it->name == propertyName ? &*it : nullptr; |
| 321 | } |
| 322 | |
| 323 | std::string Object::paramNamesToString(const std::vector<std::string>& paramNames) |
| 324 | { |
nothing calls this directly
no outgoing calls
no test coverage detected