Navigation that charges both visible elements and adapter-specific skipped nodes. More...
#include "donner/css/selectors/SelectorMatchOptions.h"
Public Member Functions | |
| SelectorTraversalNavigation (SelectorTraversalBudget *budget) | |
| Bind navigation to one aggregate match budget. | |
| std::optional< T > | firstChild (const T &element) const |
| Get the first child under the shared budget. | |
| std::optional< T > | lastChild (const T &element) const |
| Get the last child under the shared budget. | |
| std::optional< T > | previousSibling (const T &element) const |
| Get the preceding sibling under the shared budget. | |
| std::optional< T > | nextSibling (const T &element) const |
| Get the following sibling under the shared budget. | |
Navigation that charges both visible elements and adapter-specific skipped nodes.
| T | Element-like value. |
|
inlineexplicit |
Bind navigation to one aggregate match budget.
| budget | Shared work budget. |
|
inline |
Get the first child under the shared budget.
| element | Reference element. |
|
inline |
Get the last child under the shared budget.
| element | Reference element. |
|
inline |
Get the following sibling under the shared budget.
| element | Reference element. |
|
inline |
Get the preceding sibling under the shared budget.
| element | Reference element. |