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

Method toXML

valdi/src/valdi/runtime/Context/ViewNode.cpp:1807–1811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1805 _flags[kIsLayoutFlag] = isLayout;
1806 setViewTreeNeedsUpdate();
1807
1808 updateYogaMeasureFunc();
1809 }
1810}
1811
1812bool ViewNode::needsYogaMeasureFunc() const {
1813 if (!hasParent()) {
1814 // No measure func if we are the root.

Callers 5

assertHasNoViewFunction · 0.45
assertAllHasViewFunction · 0.45
insertChildAtMethod · 0.45

Calls 9

toXMLFunction · 0.85
appendIndentFunction · 0.85
getChildCountFunction · 0.85
appendKeyValueFunction · 0.70
toStringMethod · 0.65
ValueClass · 0.50
emptyMethod · 0.45
toStringViewMethod · 0.45

Tested by 2

assertHasNoViewFunction · 0.36
assertAllHasViewFunction · 0.36