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 return callObjectAsFunction(func.get(), callContext);
140}
141
142JSValueRef IJavaScriptContext::callObjectProperty(const JSValue& object,
143 const std::string_view& propertyName,
144 JSFunctionCallContext& callContext) {
145 auto jsPropertyName = newPropertyName(propertyName);
146 return callObjectProperty(object, jsPropertyName.get(), callContext);
147}
148
149JSValueRef IJavaScriptContext::getObjectProperty(const JSValue& object,

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