|
|
Donner
C++20 SVG rendering library
|
Implementation for SelectorParser. More...
Public Member Functions | |
| SelectorParserImpl (std::span< const ComponentValue > components) | |
| Construct a new SelectorParserImpl over a list of ComponentValue. | |
| ParseResult< Selector > | parse () |
| Parse the selector list. | |
| ParseResult< Selector > | parseMicrosyntaxTypeSuffix () |
| Parse a An+B microsyntax type suffix, in form of "of S", where S is a selector. | |
| Selector | parseForgivingSelectorList () |
| Parse a forgiving selector list, a list of selectors separated by commas with invalid selectors removed. | |
| Selector | parseForgivingRelativeSelectorList () |
| Parse a forgiving relative selector list, a list of selectors separated by commas with invalid selectors removed. | |
Implementation for SelectorParser.
Usage:
|
inline |
Parse a forgiving relative selector list, a list of selectors separated by commas with invalid selectors removed.
This differs from parseForgivingSelectorList in that it allows a combinator prefix to be set, such as > div.
|
inline |
Parse a forgiving selector list, a list of selectors separated by commas with invalid selectors removed.