Table of Contents

Namespace RDCore.SDK.Model.Diagnostics

Classes

AnalyzerFinding

One thing an analyzer has to say about a module.

DiagnosticFactory
DiagnosticFixes

What can be done about a finding, which the platform knows how to do: the fixes an analyzer states with what it found, and which travel with the diagnostic in its data (LSP 3.17 Diagnostic.data) for the language server to offer as code actions.

EditFix

Edits of the document a finding is in, which fix it: what the code action that makes them is called, and the edits, of the version of the document the finding was made of.

ModuleAnalysisContext

What an analyzer is given of a module: the syntax tree, and the facts the platform's semantic analysis pass found out about it.

RenameFix

A rename that fixes a finding: the name in the range of the diagnostic, to a name the client's user chooses, or to one of the names the analyzer suggests.

Structs

ErrorDiagnosticMetadata

Encapsulates additional metadata specifically for error diagnostics.

Interfaces

ICoreDiagnosticsFactory
IModuleAnalyzer

Looks at a module and says what is worth saying about it (RD-VBAL §2.6.4).

Enums

AnalysisPhase

How much of what the platform can find out about a module an analysis waits for.

RDCoreDiagnosticId

The identifiers of the Rubberduck Core diagnostics — the RDC00000 family issued by the RDCore.Diagnostics analyzers, distinct from the language core's VBC/VBR/VBA error diagnostics. The numeric value is the code (see VBErrorExtensions).