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

Method newPropertyName

valdi/src/valdi/quickjs/QuickJSJavaScriptContext.cpp:350–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 exceptionTracker,
349 JS_Eval(_context, reinterpret_cast<const char*>(script.data()), script.size(), sourceFilename.data(), 0));
350}
351
352Valdi::JSValueRef QuickJSJavaScriptContext::evaluateNative(const std::string_view& sourceFilename,
353 Valdi::JSExceptionTracker& exceptionTracker) {
354 auto guard = _threadAccessChecker.guard();
355 return checkCallAndGetValue(exceptionTracker, tsn_load_module(_context, sourceFilename.data()));
356}
357

Callers

nothing calls this directly

Calls 4

guardMethod · 0.80
toValdiJSPropertyNameFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected