CssSelectorListSyntax Class

Represents a comma-separated list of selectors, such as the prelude of a style rule.

public sealed class CssSelectorListSyntax : CssPreludeSyntax
Inheritance
CssPreludeSyntax CssSelectorListSyntax

Properties

NameDescription
IsRelativeDetermines whether any of the selectors starts with a combinator, as a selector of a nested rule may: > a.
Selectors

Determines whether any of the selectors starts with a combinator, as a selector of a nested rule may: > a.

public bool IsRelative { get; }

Property value

bool

Selectors

Syntax.g.cs
public SeparatedSyntaxList<CssSelectorSyntax> Selectors { get; }

No documentation is available.

Methods

NameDescription
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.cs
public override void Accept(CssSyntaxVisitor visitor)
Parameters
visitor CssSyntaxVisitor

No documentation is available.

Accept<TResult>(CssSyntaxVisitor<TResult>)

Syntax.g.cs
public override TResult? Accept<TResult>(CssSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor CssSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.

Update(SeparatedSyntaxList<CssSelectorSyntax>)

Syntax.g.cs

Returns this node with the given parts, or itself when nothing changed.

WithSelectors(SeparatedSyntaxList<CssSelectorSyntax>)

Syntax.g.cs

Returns this node with selectors in place of its CssSelectorListSyntax.Selectors.