Table of Contents

Class ParserEmbeddedCodeDiagnostic

Namespace
Utils.Parser.Diagnostics.EmbeddedCode
Assembly
Utils.Parser.Diagnostics.dll

Diagnostic reported while transforming embedded parser code.

public sealed class ParserEmbeddedCodeDiagnostic
Inheritance
ParserEmbeddedCodeDiagnostic
Inherited Members
Extension Methods

Properties

Code

Gets an optional stable diagnostic code.

public string? Code { get; set; }

Property Value

string

Message

Gets the human-readable diagnostic message.

public string Message { get; set; }

Property Value

string

Severity

Gets the diagnostic severity.

public ParserEmbeddedCodeDiagnosticSeverity Severity { get; set; }

Property Value

ParserEmbeddedCodeDiagnosticSeverity

Span

Gets an optional source span associated with the embedded-code fragment.

public SourceSpan? Span { get; set; }

Property Value

SourceSpan