Vixen
02b45cc4
csharp
public readonly record struct SyntaxNodeOrToken

Either a node or a token, for the places a slot may hold one or the other. Exactly one of the two properties is non-null.

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

Fields and properties (2)

  • public SyntaxToken? Token

    The token, when this holds one.

  • public SyntaxNode? Node

    The node, when this holds one.