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

Function toString

valdi/src/valdi/hermes/HermesJavaScriptContext.cpp:805–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805static hermes::vm::CallResult<hermes::vm::PseudoHandle<hermes::vm::StringPrimitive>> toString(
806 hermes::vm::Runtime& runtime, const hermes::vm::HermesValue& value) {
807 return hermes::vm::toString_RJS(runtime, runtime.makeHandle(value));
808}
809
810StringBox HermesJavaScriptContext::valueToString(const JSValue& value, JSExceptionTracker& exceptionTracker) {
811 hermes::vm::GCScope gcScope(*_runtime);

Callers 15

valueToStringMethod · 0.70
valueToStaticStringMethod · 0.70
toStringBoxMethod · 0.50
toStringMethod · 0.50
flattenMethod · 0.50
toStringBoxMethod · 0.50
toStringMethod · 0.50
toMethod · 0.50
toStringBoxMethod · 0.50
toStringMethod · 0.50
TESTFunction · 0.50
getAccessibilityValueMethod · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40