CssLayerNameSyntax Class
Represents the name of a cascade layer, such as framework.base.
public sealed class CssLayerNameSyntax : CssSyntaxNode- Inheritance
CssSyntaxNodeCssLayerNameSyntax
Properties
| Name | Description |
|---|---|
| Name | Gets the whole name, its parts joined by dots. |
| Parts | Gets the parts of the name, with their escapes resolved, such as framework and base. |
| Tokens |
Gets the parts of the name, with their escapes resolved, such as framework and base.
public IReadOnlyList<string> Parts { get; }Property value
Tokens
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(CssSyntaxVisitor) | |
| Accept<TResult>(CssSyntaxVisitor<TResult>) | |
| Update(SyntaxTokenList) | Returns this node with the given parts, or itself when nothing changed. |
| WithTokens(SyntaxTokenList) | Returns this node with tokens in place of its CssLayerNameSyntax.Tokens. |
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(SyntaxTokenList)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public CssLayerNameSyntax Update(SyntaxTokenList tokens)WithTokens(SyntaxTokenList)
Syntax.g.csReturns this node with tokens in place of its CssLayerNameSyntax.Tokens.
public CssLayerNameSyntax WithTokens(SyntaxTokenList tokens)