DiagnosticContext
- class DiagnosticContext
Additional diagnostics context information for formatting.
Members defined in
DiagnosticContext(4 members)
RWThe filename of the document diagnostics apply to.
RWAdditional sources for printing related information snippets from external documents
RWThe source text of the document diagnostics apply to.
Attributes
- property filename: str
The filename of the document diagnostics apply to.
Additional sources for printing related information snippets from external documents
- property source: str
The source text of the document diagnostics apply to.
Methods
- __init__(source: str = '', filename: str = '', related_sources: Callable[[syside.Url], str | syside.SharedMutex[syside.TextDocument]] | syside.TextDocuments | None = None) None