Interface IDiagnostics
Wrapper for all diagnostic information passed back by the compiler.
Namespace: Mangrove.Parsing.Abstractions
Assembly: Mangrove.Parsing.dll
Syntax
public interface IDiagnostics
Properties
View SourceErrors
All compiler errors. If this is non-empty, do not expect an IParseableExpression to be returned.
Declaration
IReadOnlyList<Diagnostic<ErrorKind>> Errors { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Diagnostic<ErrorKind>> |
Warnings
All compiler warnings. If the compiler is set to 'strict', these will be treated as errors.
Declaration
IReadOnlyList<Diagnostic<WarningKind>> Warnings { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Diagnostic<WarningKind>> |