csharp
public static class SyntaxDiagnosticsStable descriptors for syntax (lexer/parser) diagnostics. The RVN1xxx range is reserved for syntax; later phases claim their own ranges (semantics, lowering, emit).
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (2)
public static readonly DiagnosticDescriptor SyntaxErrorA parser error: the token stream did not match the grammar.
public static readonly DiagnosticDescriptor InvalidCharacterA lexer error: the input contained a character the lexer could not tokenize.
Used by (3)
- RavenLexerVixen.Raven
- RavenParserVixen.Raven
- RavenSyntaxErrorListenerVixen.Raven.Tests