Meziantou.Framework.WebPlatform.Css.ParserApi namespace

Classes

NameDescription
CssParserAtRuleAn at-rule (https://wicg.github.io/css-parser-api/#cssparseratrule, https://drafts.csswg.org/css-syntax-3/#at-rule): its name, its prelude and its block, or no block for a statement (e.g. @import url(a.css);).
CssParserBlockA simple block (https://wicg.github.io/css-parser-api/#cssparserblock, https://drafts.csswg.org/css-syntax-3/#simple-block): [...], (...) or {...}.
CssParserDeclarationA declaration (https://wicg.github.io/css-parser-api/#cssparserdeclaration, https://drafts.csswg.org/css-syntax-3/#declaration): a name and a value, e.g. color: red.
CssParserFunctionA function (https://wicg.github.io/css-parser-api/#cssparserfunction, https://drafts.csswg.org/css-syntax-3/#function): its name and its arguments, the component values between the commas at the top level of the function.
CssParserOptionsThe options of the CSS Parser API (https://wicg.github.io/css-parser-api/#dictdef-cssparseroptions).
CssParserQualifiedRuleA qualified rule (https://wicg.github.io/css-parser-api/#cssparserqualifiedrule, https://drafts.csswg.org/css-syntax-3/#qualified-rule), e.g. a style rule: its prelude and the rules and declarations of its block.
CssParserRuleA rule or a declaration returned by the CSS Parser API (https://wicg.github.io/css-parser-api/#cssparserrule).
CssParserValueA function or a simple block returned by the CSS Parser API (https://wicg.github.io/css-parser-api/#cssparservalue).

Structs

NameDescription
CssParserTokenThe CSSToken typedef: (DOMString or CSSStyleValue or CSSParserValue) (https://wicg.github.io/css-parser-api/#typedefdef-csstoken), a component value (https://drafts.csswg.org/css-syntax-3/#component-value) of the results of the CSS Parser API. The parser represents an ident token as a CssKeywordValue, a number, a percentage or a dimension token whose unit is a CSS unit as a CssUnitValue, a function as a CssParserFunction, a simple block as a CssParserBlock, a whitespace token as " ", and the other tokens as their text (e.g. ",", "#fff", "\"text\"", "10foo").