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

Method getObjectProperty

valdi/src/valdi/v8/V8JavaScriptContext.cpp:526–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526JSValueRef V8JavaScriptContext::getObjectProperty(const JSValue& object,
527 const std::string_view& propertyName,
528 JSExceptionTracker& exceptionTracker) {
529 auto propertyKey = newPropertyName(propertyName);
530 return getObjectProperty(object, propertyKey.get(), exceptionTracker);
531}
532
533JSValueRef V8JavaScriptContext::getObjectProperty(const JSValue& object,
534 const JSPropertyName& propertyName,

Callers 1

mainFunction · 0.45

Calls 8

ToLocalMethod · 0.80
fromValdiJSValueFunction · 0.70
fromValdiJSPropertyNameFunction · 0.70
getMethod · 0.65
onErrorMethod · 0.65
CastFunction · 0.50
NewFunction · 0.50
GetMethod · 0.45

Tested by

no test coverage detected