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

Method getObjectProperty

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

Source from the content-addressed store, hash-verified

132}
133
134JSValueRef IJavaScriptContext::getObjectProperty(const JSValue& object,
135 const std::string_view& propertyName,
136 JSExceptionTracker& exceptionTracker) {
137 auto jsPropertyName = newPropertyName(propertyName);
138 return getObjectProperty(object, jsPropertyName.get(), exceptionTracker);
139}
140
141void IJavaScriptContext::setObjectProperty(const JSValue& object,
142 const std::string_view& propertyName,

Callers 15

getGlobalOnMessageFunction · 0.45
getFromJSPromiseMethod · 0.45
doOnCompleteMethod · 0.45
getStackTraceMethod · 0.45
nameFromJSFunctionFunction · 0.45
visitPropertyNameMethod · 0.45
jsArrayGetLengthFunction · 0.45
onModuleLoadedMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected