| 348 | exceptionTracker, |
| 349 | JS_Eval(_context, reinterpret_cast<const char*>(script.data()), script.size(), sourceFilename.data(), 0)); |
| 350 | } |
| 351 | |
| 352 | Valdi::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 |
nothing calls this directly
no test coverage detected