Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1812
bool ViewNode::needsYogaMeasureFunc() const {
1813
if (!hasParent()) {
1814
// No measure func if we are the root.
Callers
5
valdi_test_utils.cpp
File · 0.45
assertHasNoView
Function · 0.45
assertAllHasView
Function · 0.45
getViewNodeDebugDescription
Method · 0.45
insertChildAt
Method · 0.45
Calls
9
toXML
Function · 0.85
appendIndent
Function · 0.85
getChildCount
Function · 0.85
dumpResolvedAttributes
Method · 0.80
appendKeyValue
Function · 0.70
toString
Method · 0.65
Value
Class · 0.50
empty
Method · 0.45
toStringView
Method · 0.45
Tested by
2
assertHasNoView
Function · 0.36
assertAllHasView
Function · 0.36