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

Method getArrayItem

valdi/src/valdi/runtime/JavaScript/JavaScriptValueDelegate.cpp:704–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702 return std::move(arrayBuilder.getBuilder());
703}
704
705PlatformArrayIterator<JSValueRef> JavaScriptValueDelegate::newArrayIterator(const JSValueRef& array,
706 ExceptionTracker& exceptionTracker) {
707 return PlatformArrayIterator<JSValueRef>(
708 array, jsArrayGetLength(*_jsContext, array.get(), toJSExceptionTracker(exceptionTracker)));
709}
710
711JSValueRef JavaScriptValueDelegate::getArrayItem(const PlatformArrayIterator<JSValueRef>& arrayIterator,
712 size_t index,

Callers

nothing calls this directly

Calls 2

getMethod · 0.65

Tested by

no test coverage detected