CssComplexSelectorPartSyntax Class
Represents a compound selector of a complex selector, together with the combinator before it.
public sealed class CssComplexSelectorPartSyntax : CssSyntaxNodeRemarks
Whitespace is trivia, so the descendant combinator has no node: a part after the first with no CssComplexSelectorPartSyntax.Combinator is a descendant of the part before it.
- Inheritance
CssSyntaxNodeCssComplexSelectorPartSyntax
Properties
| Name | Description |
|---|---|
| Combinator | |
| CombinatorKind | Gets how this part relates to the one before it. |
| Compound |
Combinator
Syntax.g.csCombinatorKind
CssComplexSelectorPartSyntax.csGets how this part relates to the one before it.
public CssCombinatorKind CombinatorKind { get; }Property value
Compound
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(CssSyntaxVisitor) | |
| Accept<TResult>(CssSyntaxVisitor<TResult>) | |
| Update(CssCombinatorSyntax?, CssCompoundSelectorSyntax) | Returns this node with the given parts, or itself when nothing changed. |
| WithCombinator(CssCombinatorSyntax?) | Returns this node with combinator in place of its CssComplexSelectorPartSyntax.Combinator. |
| WithCompound(CssCompoundSelectorSyntax) | Returns this node with compound in place of its CssComplexSelectorPartSyntax.Compound. |
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(CssCombinatorSyntax?, CssCompoundSelectorSyntax)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public CssComplexSelectorPartSyntax Update(CssCombinatorSyntax? combinator, CssCompoundSelectorSyntax compound)WithCombinator(CssCombinatorSyntax?)
Syntax.g.csReturns this node with combinator in place of its CssComplexSelectorPartSyntax.Combinator.
public CssComplexSelectorPartSyntax WithCombinator(CssCombinatorSyntax? combinator)WithCompound(CssCompoundSelectorSyntax)
Syntax.g.csReturns this node with compound in place of its CssComplexSelectorPartSyntax.Compound.
public CssComplexSelectorPartSyntax WithCompound(CssCompoundSelectorSyntax compound)