CssComplexSelectorSyntax Class

Represents a complex selector: compound selectors joined by combinators, such as nav > a:hover.

public sealed class CssComplexSelectorSyntax : CssSelectorSyntax
Inheritance
CssSelectorSyntax CssComplexSelectorSyntax

Properties

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

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

public bool IsRelative { get; }

Property value

bool

No documentation is available.

Methods

NameDescription
Accept(CssSyntaxVisitor)
Accept<TResult>(CssSyntaxVisitor<TResult>)
Update(SyntaxList<CssComplexSelectorPartSyntax>)Returns this node with the given parts, or itself when nothing changed.
WithParts(SyntaxList<CssComplexSelectorPartSyntax>)Returns this node with parts in place of its CssComplexSelectorSyntax.Parts.

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(SyntaxList<CssComplexSelectorPartSyntax>)

Syntax.g.cs

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

WithParts(SyntaxList<CssComplexSelectorPartSyntax>)

Syntax.g.cs