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

Method valueToInt

valdi/src/valdi/runtime/JavaScript/JavaScriptValueDelegate.cpp:866–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866Ref<PlatformObjectClassDelegate<JSValueRef>> JavaScriptValueDelegate::newObjectClass(
867 const Ref<ClassSchema>& schema, ExceptionTracker& exceptionTracker) {
868 auto classDelegate = JavaScriptClassDelegate::make(*_jsContext, schema->getPropertiesSize());
869
870 size_t propertyIndex = 0;
871 for (const auto& property : *schema) {

Callers 13

getParameterAsIntMethod · 0.45
jsArrayGetLengthFunction · 0.45
jsValueToValueFunction · 0.45
runtimeOutputLogMethod · 0.45
notifyErrorHandlerFunction · 0.45
enumCaseToValueMethod · 0.45
valueObjectToIntMethod · 0.45
jsValueToIndexFunction · 0.45
getMessageIndexesFunction · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected