Vixen
02b45cc4
csharp
public static class SyntaxDiagnostics

Stable 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 SyntaxError

    A parser error: the token stream did not match the grammar.

  • public static readonly DiagnosticDescriptor InvalidCharacter

    A lexer error: the input contained a character the lexer could not tokenize.

Used by (3)

  • RavenLexerVixen.Raven
  • RavenParserVixen.Raven
  • RavenSyntaxErrorListenerVixen.Raven.Tests