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

Method newLong

valdi/src/valdi/runtime/Interfaces/IJavaScriptContext.cpp:223–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 return cachedValue;
222 }
223
224 if (isValueUndefined(cachedValue.get())) {
225 cachedValue = newLongUncached(JavaScriptLong(value), exceptionTracker);
226 if (!exceptionTracker) {
227 return cachedValue;
228 }
229
230 setObjectPropertyIndex(cache.get(), cacheIndex, cachedValue.get(), exceptionTracker);
231 }
232
233 return cachedValue;

Callers

nothing calls this directly

Calls 1

JavaScriptLongClass · 0.70

Tested by

no test coverage detected