Vixen
dd8b0a81
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).

Read the guide page for this →

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 (5)

  • DiagnosticCoverageTestsVixen.Raven.Tests
  • RavenLexerVixen.Raven
  • RavenParserVixen.Raven
  • RavenSyntaxErrorListenerVixen.Raven.Tests
  • UnprovenDiagnosticTestsVixen.Raven.Tests