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

Method getAttributesForIndex

valdi/src/valdi/runtime/CSS/StyleAttributesCache.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Ref<CSSAttributes> StyleAttributesCache::getAttributesForIndex(size_t index) const {
41 if (index >= _entries.size()) {
42 return nullptr;
43 }
44 return _entries[index];
45}
46
47const AttributeIds& StyleAttributesCache::getAttributeIds() const {
48 return _attributeIds;

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected