Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a file.
Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a file.
(code diagnostic)A code or identifier for this diagnostic. Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.
A code or identifier for this diagnostic.
Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.(message diagnostic)The human-readable message.
The human-readable message.
(range diagnostic)The range to which this diagnostic applies.
The range to which this diagnostic applies.
(related-information diagnostic)An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
(set-code! diagnostic value)A code or identifier for this diagnostic. Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.
A code or identifier for this diagnostic.
Should be used for later processing, e.g. when providing {@link CodeActionContext code actions}.(set-message! diagnostic value)The human-readable message.
The human-readable message.
(set-range! diagnostic value)The range to which this diagnostic applies.
The range to which this diagnostic applies.
(set-related-information! diagnostic value)An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
(set-severity! diagnostic value)The severity, default is {@link DiagnosticSeverity.Error error}.
The severity, default is {@link DiagnosticSeverity.Error error}.
(set-source! diagnostic value)A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
(set-tags! diagnostic value)Additional metadata about the diagnostic.
Additional metadata about the diagnostic.
(severity diagnostic)The severity, default is {@link DiagnosticSeverity.Error error}.
The severity, default is {@link DiagnosticSeverity.Error error}.
(source diagnostic)A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.
(tags diagnostic)Additional metadata about the diagnostic.
Additional metadata about the diagnostic.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |