TagDirectiveSyntax
csharp
public sealed class TagDirectiveSyntax@tag task-center — the element name the component's host answers to.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A header rather than three lines of @code. The default is the type's name in lower case and it cannot produce a hyphen, so every component whose stylesheet spells its tag the way CSS does — which is every compound one — would otherwise have to override a virtual property to say a single word. What a component is called is a property of the component, and the file already has a place where a component says what it is.
Fields and properties (2)
public SyntaxToken TagKeywordpublic SyntaxToken NameAn element name, hyphens and all.
Methods (6)
public override SyntaxNode? GetSlot(int index)public override void Accept(SyntaxVisitor visitor)public override TResult Accept<TResult>(SyntaxVisitor<TResult> visitor)public TagDirectiveSyntax Update(SyntaxToken tagKeyword, SyntaxToken name)public TagDirectiveSyntax WithTagKeyword(SyntaxToken tagKeyword)public TagDirectiveSyntax WithName(SyntaxToken name)
Used by (9)
- BinderVixen.Ui.Markup
- DocumentSyntaxVixen.Ui.Markup
- ParserTestsVixen.Ui.Markup.Tests
- SyntaxFactoryVixen.Ui.Markup
- SyntaxRewriterVixen.Ui.Markup
- SyntaxVisitorVixen.Ui.Markup
- SyntaxVisitorVixen.Ui.Markup
- TagDirectiveSyntaxVixen.Ui.Markup
- VxmlParserVixen.Ui.Markup