|
|
Donner
C++20 SVG rendering library
|
Parse a CSS value, per https://www.w3.org/TR/css-syntax-3/#parse-list-of-component-values. More...
#include "donner/css/parser/AnbMicrosyntaxParser.h"
Classes | |
| struct | Result |
| Result of parsing the An+B microsyntax. More... | |
Static Public Member Functions | |
| static ParseResult< Result > | Parse (std::span< const ComponentValue > components) |
| Parse the CSS An+B microsyntax, per https://www.w3.org/TR/css-syntax-3/#anb-microsyntax. | |
Parse a CSS value, per https://www.w3.org/TR/css-syntax-3/#parse-list-of-component-values.
This is used when parsing CSS-like attributes within XML/HTML, such as SVG presentation attributes.
|
static |
Parse the CSS An+B microsyntax, per https://www.w3.org/TR/css-syntax-3/#anb-microsyntax.
For example:
| components | List of component values to parse. |