CssQualifiedRuleSyntax Class
Represents a qualified rule: a prelude, then a block. A style rule is one, and so is a keyframe rule.
public sealed class CssQualifiedRuleSyntax : CssRuleSyntax- Inheritance
CssRuleSyntaxCssQualifiedRuleSyntax
Properties
| Name | Description |
|---|---|
| Block | |
| Prelude | |
| Selectors | Gets the selectors of a style rule, or null when the prelude is not a valid selector list. |
Block
Syntax.g.csPrelude
Syntax.g.csSelectors
CssQualifiedRuleSyntax.csGets the selectors of a style rule, or null when the prelude is not a valid selector list.
public CssSelectorListSyntax? Selectors { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(CssSyntaxVisitor) | |
| Accept<TResult>(CssSyntaxVisitor<TResult>) | |
| GetBlock() | |
| GetPrelude() | |
| Update(CssPreludeSyntax?, CssBlockSyntax) | Returns this node with the given parts, or itself when nothing changed. |
| WithBlock(CssBlockSyntax) | Returns this node with block in place of its CssQualifiedRuleSyntax.Block. |
| WithPrelude(CssPreludeSyntax?) | Returns this node with prelude in place of its CssQualifiedRuleSyntax.Prelude. |
Accept overloads
Accept(CssSyntaxVisitor)
Syntax.g.cspublic override void Accept(CssSyntaxVisitor visitor)Parameters
visitorCssSyntaxVisitor
No documentation is available.
Accept<TResult>(CssSyntaxVisitor<TResult>)
Syntax.g.cspublic override TResult? Accept<TResult>(CssSyntaxVisitor<TResult> visitor)No documentation is available.
GetBlock()
CssQualifiedRuleSyntax.csGetPrelude()
CssQualifiedRuleSyntax.csUpdate(CssPreludeSyntax?, CssBlockSyntax)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public CssQualifiedRuleSyntax Update(CssPreludeSyntax? prelude, CssBlockSyntax block)WithBlock(CssBlockSyntax)
Syntax.g.csReturns this node with block in place of its CssQualifiedRuleSyntax.Block.
public CssQualifiedRuleSyntax WithBlock(CssBlockSyntax block)WithPrelude(CssPreludeSyntax?)
Syntax.g.csReturns this node with prelude in place of its CssQualifiedRuleSyntax.Prelude.
public CssQualifiedRuleSyntax WithPrelude(CssPreludeSyntax? prelude)