Helpers shared by the per-stylesheet selector caches (RuleIndex and SelectorDependencySummary): reading simple selectors out of compounds and comparing the names they key on.
More...
|
|
int | donner::svg::components::CompareLowercased (std::string_view stored, std::string_view probe) |
| | Compare stored, which is already ASCII-lowercased, with probe ASCII-lowercased, as <=> would: negative, zero or positive.
|
|
int | donner::svg::components::CompareExact (std::string_view stored, std::string_view probe) |
| | Compare stored with probe exactly, as <=> would: negative, zero or positive.
|
|
RcString | donner::svg::components::Lowercased (const RcString &name) |
| | name with ASCII A-Z lowercased, sharing name's storage when it has no capitals.
|
|
template<typename Selector, typename Accept> |
| const Selector * | donner::svg::components::FindSimple (const std::vector< css::CompoundSelector::Entry > &simple, Accept accept) |
| | The first simple selector of type Selector in simple that accept admits.
|
|
bool | donner::svg::components::IsSiblingCombinator (css::Combinator combinator) |
| | Whether a combinator relates an element to its siblings (+ or ~) rather than to its ancestors.
|
Helpers shared by the per-stylesheet selector caches (RuleIndex and SelectorDependencySummary): reading simple selectors out of compounds and comparing the names they key on.