csharp
public static class SyntaxKindsRaw kind values the shared tree reserves for itself.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Kinds are plain integers here so one tree implementation can serve several languages, each with its own enum. Almost nothing in this assembly reads the value — list-ness is answered by GreenNode.IsList, not by comparing kinds — but a list node still has to carry some kind, and a language projecting RawKind back to its enum would otherwise land on whatever member happened to occupy that slot.
Fields and properties (1)
public const int ListThe anonymous list node. A language's kind enum must give this value to its own list member (Raven: SyntaxKind.ListKind = SyntaxKinds.List) so that casting a list node's RawKind yields the right name.
Used by (5)
- GreenTreeTestsVixen.Core.Syntax.Tests
- SyntaxKindVixen.Ui.Markup
- SyntaxListVixen.Core.Syntax
- ToyKindVixen.Core.Syntax.Tests
- SyntaxKindVixen.Raven