Vixen
02b45cc4
csharp
public enum SyntaxKind

Every kind a VXML green node, token or trivia can carry.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (58)

  • None

    Unset. No node in a well-formed tree carries it.

  • ListKind

    The anonymous list node. Pinned to List because the shared tree creates list nodes without knowing VXML's enum; if the values diverged, casting a list node's RawKind would name the wrong member.

  • Document

    A whole file.

  • ComponentDirective

    @component Name.

  • UsingDirective

    @using Namespace.

  • NamespaceDirective

    @namespace Some.Namespace.

  • TagDirective

    @tag element-name.

  • CodeBlock

    @code { … }.

  • MarkupBlock

    A braced run of content.

  • StartTag

    An opening or self-closing tag.

  • EndTag

    A closing tag.

  • Element

    An element.

  • StyleBlock

    <style>…</style>.

  • Attribute

    One attribute on a tag.

  • QuotedAttributeValue

    A quoted attribute value.

  • ExpressionAttributeValue

    An unquoted @expr attribute value.

  • Text

    A run of literal text.

  • Interpolation

    @expr.

  • If

    @if with its body and optional else.

  • ElseClause

    The else arm of an @if.

  • For

    @for.

  • Switch

    @switch.

  • SwitchSection

    One case or default arm.

  • ComponentKeyword

    @component.

  • UsingKeyword

    @using.

  • NamespaceKeyword

    @namespace.

  • TagKeyword

    @tag.

  • CodeKeyword

    @code.

  • IfKeyword

    @if.

  • ElseKeyword

    else — the one keyword written without an @, because it follows a brace.

  • ForKeyword

    @for.

  • VarKeyword

    var, in an @for header.

  • InKeyword

    in, in an @for header.

  • SwitchKeyword

    @switch.

  • CaseKeyword

    case.

  • DefaultKeyword

    default.

  • LessThanToken

    < opening a tag.

  • LessThanSlashToken

    </ opening a closing tag.

  • GreaterThanToken

    >.

  • SlashGreaterThanToken

    />, which closes a tag and its element at once.

  • EqualsToken

    =.

  • QuoteToken

    " or ' around an attribute value.

  • AtToken

    @ introducing an expression.

  • OpenParenToken

    (.

  • CloseParenToken

    ).

  • OpenBraceToken

    {.

  • CloseBraceToken

    }.

  • ColonToken

    : ending a switch arm's label.

  • IdentifierToken

    A bare identifier: a component name, an @for variable.

  • NameToken

    A tag, attribute or namespace name — dots, dashes and colons included.

  • TextToken

    Literal text in content or inside a quoted attribute value.

  • ExpressionToken

    A C# expression, verbatim and unparsed.

  • CodeToken

    The body of an @code block, verbatim and unparsed.

  • CssToken

    The body of a <style> block, verbatim and unparsed.

  • EndOfFileToken

    End of file. Always the last token, always zero width.

  • WhitespaceTrivia

    Whitespace the tree carries but the grammar ignores.

  • CommentTrivia

    An <!-- … --> comment.

  • SkippedTokensTrivia

    Source the parser skipped while recovering. Its presence means a diagnostic was reported.

Used by (32)

  • Vixen.Ui.Markup
  • AttributeSyntaxVixen.Ui.Markup
  • AttributeValueSyntaxVixen.Ui.Markup
  • CodeBlockSyntaxVixen.Ui.Markup
  • ComponentDirectiveSyntaxVixen.Ui.Markup
  • DirectiveSyntaxVixen.Ui.Markup
  • DocumentSyntaxVixen.Ui.Markup
  • ElementSyntaxVixen.Ui.Markup
  • ElseClauseSyntaxVixen.Ui.Markup
  • EndTagSyntaxVixen.Ui.Markup
  • ExpressionAttributeValueSyntaxVixen.Ui.Markup
  • ForSyntaxVixen.Ui.Markup
  • IfSyntaxVixen.Ui.Markup
  • InterpolationSyntaxVixen.Ui.Markup
  • MarkupBlockSyntaxVixen.Ui.Markup
  • MarkupSyntaxVixen.Ui.Markup
  • NamespaceDirectiveSyntaxVixen.Ui.Markup
  • ParserTestsVixen.Ui.Markup.Tests
  • QuotedAttributeValueSyntaxVixen.Ui.Markup
  • StartTagSyntaxVixen.Ui.Markup
  • StyleBlockSyntaxVixen.Ui.Markup
  • SwitchSectionSyntaxVixen.Ui.Markup
  • SwitchSyntaxVixen.Ui.Markup
  • SyntaxFactoryVixen.Ui.Markup
  • SyntaxFactsVixen.Ui.Markup
  • SyntaxRewriterVixen.Ui.Markup
  • TagDirectiveSyntaxVixen.Ui.Markup
  • TextSyntaxVixen.Ui.Markup
  • UsingDirectiveSyntaxVixen.Ui.Markup
  • VxmlVixen.Ui.Markup.Tests
  • VxmlParserVixen.Ui.Markup
  • VxmlSyntaxNodeVixen.Ui.Markup