MCPcopy Create free account
hub / github.com/Tencent/Hippy / GetNativeSourceCode

Function GetNativeSourceCode

core/src/napi/jsc/native_source_code_ios.cc:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 {"requestAnimationFrame.js", {k_requestAnimationFrame, arraysize(k_requestAnimationFrame) - 1}}, // NOLINT
62 };
63 const NativeSourceCode GetNativeSourceCode(const std::string& filename) {
64 const auto it = global_base_js_source_map.find(filename);
65 return it != global_base_js_source_map.cend() ? it->second : NativeSourceCode{};
66 }
67} // namespace hippy

Callers 3

HandleJsExceptionMethod · 0.70
InitializedMethod · 0.50
RunInThisContextMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected