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

Method setHandler

valdi/src/valdi/runtime/Attributes/ViewNodeAttribute.cpp:450–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448 auto result = getResolvedPreprocessedValue();
449 if (result) {
450 copy->unsafeSetAsTrivial(nullptr, Value(result.value()));
451 copy->getSingleAttributeValue().preprocessedValue = PreprocessedValue(result.moveValue());
452 }
453 copy->_appliedValueDirty = true;
454 }
455
456 return copy;
457}
458

Callers 1

Calls 3

requiresViewMethod · 0.45
isCompositePartMethod · 0.45

Tested by

no test coverage detected