|
|
Donner
C++20 SVG rendering library
|
#include <functional>#include <vector>#include "donner/base/Utils.h"#include "donner/base/element/ElementTraversalGenerators.h"#include "donner/css/ComponentValue.h"#include "donner/css/Specificity.h"#include "donner/css/selectors/CompoundSelector.h"#include "donner/css/selectors/SelectorMatchOptions.h"Classes | |
| struct | donner::css::SelectorMatchResult |
| Returned by Selector::matches to indicate whether the selector matched, and if so, the specificity of the match. More... | |
| struct | donner::css::ComplexSelector |
| A complex selector is a sequence of one or more compound selectors, separated by combinators. More... | |
| struct | donner::css::ComplexSelector::Entry |
| A single entry in a complex selector, which is a compound selector and a combinator. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::css |
| Donner CSS library, a standalone composable CSS parser. | |
Enumerations | |
| enum class | donner::css::Combinator { donner::css::Descendant , donner::css::Child , donner::css::NextSibling , donner::css::SubsequentSibling , donner::css::Column } |
| Between two compound selectors, there can be a combinator, which specifies how the two elements are associated in the tree. More... | |
Functions | |
| std::ostream & | donner::css::operator<< (std::ostream &os, Combinator combinator) |
| Ostream output operator. | |
| struct donner::css::ComplexSelector::Entry |
A single entry in a complex selector, which is a compound selector and a combinator.
| Class Members | ||
|---|---|---|
| Combinator | combinator | The combinator between this compound selector and the next. For regular selector lists, the first entry is set to Combinator::Descendant but it has no effect. For relative selector lists, the first entry is the leading combinator, for example "> div". |
| CompoundSelector | compoundSelector | The compound selector. |