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

Method ViewNodeAttribute

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

Source from the content-addressed store, hash-verified

18namespace Valdi {
19
20ViewNodeAttribute::ViewNodeAttribute(const AttributeHandler* handler)
21 : _handler(handler),
22 _handlerNeedsView(handler->requiresView()),
23 _handlerCanAffectLayout(handler->shouldInvalidateLayoutOnChange()),
24 _handlerIsCompositePart(handler->isCompositePart()),
25 _handlerShouldReevaluateOnColorChange(handler->shouldReevaluateOnColorPaletteChange()) {}
26
27ViewNodeAttribute::~ViewNodeAttribute() {

Callers

nothing calls this directly

Calls 3

requiresViewMethod · 0.45
isCompositePartMethod · 0.45

Tested by

no test coverage detected