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

Method resolveParent

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

Source from the content-addressed store, hash-verified

325}
326
327CSSNode* CSSNode::resolveParent(const CSSDocument& cssDocument) const {
328 if (_parentResolver == nullptr) {
329 return nullptr;
330 }
331
332 return _parentResolver->getCSSParentForDocument(cssDocument);
333}
334
335void CSSNode::setParentResolver(CSSNodeParentResolver* parentResolver) {
336 _parentResolver = parentResolver;

Callers 1

insertDeclarationsMethod · 0.80

Calls 1

Tested by

no test coverage detected