DiagnosticResults
- class DiagnosticResults
Description
The collection of all diagnostics for a single document.
Inheritance:
Members defined in
DiagnosticResults(8 members)RReturns
Trueif all diagnostic categories are emptyRDiagnostics emitted during parsing of the source files
RDiagnostics emitted during semantic resolution
RWSource of all diagnostics contained by this.
RDiagnostics emitted during validation
Returns
Trueif there are noErrordiagnosticsWhether this result can be treated as passing
Attributes
- property parser: syside.MutableBuffer[syside.Diagnostic]
Diagnostics emitted during parsing of the source files
- property sema: syside.MutableBuffer[syside.Diagnostic]
Diagnostics emitted during semantic resolution
- property source: syside.Url
Source of all diagnostics contained by this.
- property validation: syside.MutableBuffer[syside.Diagnostic]
Diagnostics emitted during validation
Methods
- __init__(arg: syside.Url, /) None
- passed(warnings_as_errors: bool = False) bool
Whether this result can be treated as passing
Using
warnings_as_errorstreats any warnings as fatal, in addition to errors.
Used by