Meziantou.Framework.Language.Css namespace

Classes

NameDescription
CssAnPlusBSyntaxRepresents an An+B expression, such as 2n+1 or odd, which selects every A-th element starting with the B-th.
CssAtRuleSyntaxRepresents an at-rule, such as @media: an at-keyword, a prelude, then a block or a semicolon.
CssAttributeSelectorSyntaxRepresents an attribute selector, such as [href^="https:" i].
CssBadDeclarationSyntax
CssBlockSyntaxRepresents the { ... } block of a rule, holding declarations and nested rules side by side.
CssBooleanFeatureSyntaxRepresents a feature without a value, such as (hover).
CssClassSelectorSyntaxRepresents a class selector, such as .card.
CssCombinatorSyntax
CssComparisonSyntax
CssComplexSelectorPartSyntaxRepresents a compound selector of a complex selector, together with the combinator before it.
CssComplexSelectorSyntaxRepresents a complex selector: compound selectors joined by combinators, such as nav > a:hover.
CssComponentValueSyntaxA component value: a token, a function, or a simple block.
CssCompoundSelectorSyntax
CssConditionChainSyntax
CssConditionFunctionSyntax
CssConditionPreludeSyntax
CssConditionSyntaxA condition of a media query, a supports query, or a container query.
CssContainerConditionSyntax
CssContainerPreludeSyntax
CssCustomMediaPreludeSyntax
CssDeclarationConditionSyntax
CssDeclarationSyntaxRepresents a declaration, such as color: red !important;.
CssExtensionsReads the CSS kind of the tokens, trivia, and nodes the shared syntax types hand back, and the values of CSS tokens.
CssFeatureValueSyntax
CssFunctionSyntaxRepresents a function in a value, such as rgb(0 0 0).
CssFunctionalPseudoSelectorSyntaxRepresents a pseudo-class or a pseudo-element with arguments, such as :is(a, b), :nth-child(2n+1), or ::part(label).
CssGeneralEnclosedSyntax
CssGenericPreludeSyntax
CssIdSelectorSyntaxRepresents an ID selector, such as #main.
CssIgnoredTokenSyntax
CssImportLayerSyntax
CssImportPreludeSyntax
CssImportSupportsSyntax
CssImportantSyntax
CssInvalidMediaQuerySyntax
CssInvalidSelectorSyntax
CssKeyframeSelectorListSyntax
CssKeyframeSelectorSyntaxRepresents a keyframe selector: from, to, a percentage, or a timeline range such as entry 10%.
CssLayerNameSyntaxRepresents the name of a cascade layer, such as framework.base.
CssLayerPreludeSyntax
CssMediaConditionQuerySyntax
CssMediaQueryListSyntax
CssMediaQuerySyntaxAn item of a media query list.
CssMediaTypeQuerySyntax
CssNameListSyntax
CssNamePreludeSyntaxRepresents the name in the prelude of an at-rule such as @keyframes fade or @property --size.
CssNamespacePrefixSyntax
CssNamespacePreludeSyntax
CssNestingSelectorSyntax
CssNotConditionSyntax
CssNthArgumentSyntax
CssPageSelectorListSyntax
CssPageSelectorSyntax
CssParenthesizedConditionSyntax
CssParseOptionsConfigures how CssSyntaxTree parses text.
CssPlainFeatureSyntaxRepresents a feature with a value, such as (min-width: 600px).
CssPreludeSyntaxWhat comes before the block of a rule: a selector list, a media query list, or the prelude of another at-rule.
CssPseudoPageSyntax
CssPseudoSelectorSyntaxRepresents a pseudo-class or a pseudo-element without arguments, such as :hover or ::before.
CssQualifiedRuleSyntaxRepresents a qualified rule: a prelude, then a block. A style rule is one, and so is a keyframe rule.
CssRangeFeatureSyntaxRepresents a feature compared to one or two values, such as (width >= 600px) or (400px <= width < 800px).
CssRuleSyntaxA qualified rule, such as a style rule, or an at-rule.
CssScopeBoundarySyntax
CssScopePreludeSyntax
CssSelectorListSyntaxRepresents a comma-separated list of selectors, such as the prelude of a style rule.
CssSelectorSyntaxAn item of a selector list: a complex selector, or one a forgiving list keeps without understanding it.
CssSimpleBlockSyntax
CssSimpleSelectorSyntaxOne of the simple selectors a compound selector is made of, such as a type, a class, or a pseudo-class.
CssSkippedTextSyntaxRepresents text the parser kept without using, such as the content of a block nested beyond the depth limit.
CssSkippedValueSyntaxRepresents a function or a block nested beyond the depth limit, kept as its tokens.
CssStatementSyntaxSomething that can stand in a style sheet or a block: a rule, a declaration, or text a browser drops.
CssStyleSheetSyntaxRepresents a whole style sheet: its statements, and the end of the text.
CssSyntaxNodeThe base of every node in a CSS tree.
CssSyntaxRewriterBuilds a new tree by visiting an old one and returning replacements.
CssSyntaxTreeA parsed CSS style sheet.
CssSyntaxVisitorDispatches on the kind of a CSS node.
CssSyntaxVisitor<TResult>Dispatches on the kind of a CSS node and returns a result.
CssSyntaxWalkerVisits a CSS node and everything below it.
CssTokenValueSyntax
CssTypeSelectorSyntaxRepresents a type selector, such as div or svg|a.
CssUniversalSelectorSyntax
CssViewTransitionPartSelectorSyntax
SyntaxFactoryBuilds CSS nodes, tokens, and trivia.
SyntaxFactsAnswers questions about CSS kinds and names without needing a tree.

Enums

NameDescription
CssAttributeOperatorHow an attribute selector compares the value of the attribute.
CssCombinatorKindHow a compound selector relates to the one before it.
CssSourceKindWhat the text given to CssSyntaxTree holds.
SyntaxKindThe kinds of node, token, and trivia a CSS tree is made of.