MCPcopy Create free account
hub / github.com/Snapchat/Valdi / pushMapIterator

Method pushMapIterator

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:433–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433int Marshaller::pushMapIterator(int index) {
434 auto map = getMap(index);
435 if (!_exceptionTracker) {
436 return 0;
437 }
438
439 return push(Value(makeShared<ValueMapIterator>(map)));
440}
441
442bool Marshaller::pushMapIteratorNextEntry(int index) {
443 auto iterator = getOrUndefinedAsRef(index).checkedToValdiObject<ValueMapIterator>(_exceptionTracker);

Callers 1

Calls 2

pushFunction · 0.85
ValueClass · 0.70

Tested by

no test coverage detected