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

Method setIndexAmongSiblings

valdi/src/valdi/runtime/CSS/CSSNode.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125bool CSSNode::setIndexAmongSiblings(int index) {
126 if (index == _indexAmongSiblings) {
127 return false;
128 }
129
130 _indexAmongSiblings = index;
131 return true;
132}
133
134bool CSSNode::setSiblingsCount(int count) {
135 if (count == _siblingsCount) {

Callers 1

setSiblingsIndexesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected