CssSelectorListSyntax Class
Represents a comma-separated list of selectors, such as the prelude of a style rule.
public sealed class CssSelectorListSyntax : CssPreludeSyntax- Inheritance
CssPreludeSyntaxCssSelectorListSyntax
Properties
| Name | Description |
|---|---|
| IsRelative | Determines whether any of the selectors starts with a combinator, as a selector of a nested rule may: > a. |
| Selectors |
IsRelative
CssSelectorListSyntax.csSelectors
Syntax.g.cspublic SeparatedSyntaxList<CssSelectorSyntax> Selectors { get; }Property value
No documentation is available.
Methods
| Name | Description |
|---|---|
| Accept(CssSyntaxVisitor) | |
| Accept<TResult>(CssSyntaxVisitor<TResult>) | |
| Update(SeparatedSyntaxList<CssSelectorSyntax>) | Returns this node with the given parts, or itself when nothing changed. |
| WithSelectors(SeparatedSyntaxList<CssSelectorSyntax>) | Returns this node with selectors in place of its CssSelectorListSyntax.Selectors. |
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.
Update(SeparatedSyntaxList<CssSelectorSyntax>)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public CssSelectorListSyntax Update(SeparatedSyntaxList<CssSelectorSyntax> selectors)WithSelectors(SeparatedSyntaxList<CssSelectorSyntax>)
Syntax.g.csReturns this node with selectors in place of its CssSelectorListSyntax.Selectors.
public CssSelectorListSyntax WithSelectors(SeparatedSyntaxList<CssSelectorSyntax> selectors)