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

Method setObjectProperty

valdi/src/valdi/runtime/Interfaces/IJavaScriptContext.cpp:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140JSValueRef IJavaScriptContext::callObjectProperty(const JSValue& object,
141 const std::string_view& propertyName,
142 JSFunctionCallContext& callContext) {
143 auto jsPropertyName = newPropertyName(propertyName);
144 return callObjectProperty(object, jsPropertyName.get(), callContext);
145}
146
147JSValueRef IJavaScriptContext::getObjectProperty(const JSValue& object,
148 const std::string_view& propertyName,
149 JSExceptionTracker& exceptionTracker) {

Callers 15

attachToJSPromiseMethod · 0.45
valueToJSValueFunction · 0.45
bindRuntimeFunctionMethod · 0.45
runtimeGetCSSModuleMethod · 0.45
runtimeGetAssetsMethod · 0.45
buildContextMethod · 0.45
setValueForObjectKeyMethod · 0.45
newObjectMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected