Represents diagnostic info that includes location of diagnostic in two forms
Represents diagnostic info that includes location of diagnostic in two forms - start position and length of the error span - startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.
(category diagnostic-with-line-position)Returns: string
**Returns:** `string`
(code diagnostic-with-line-position)Returns: number
**Returns:** `number`
(end-location diagnostic-with-line-position)Returns: Location
**Returns:** `Location`
(length diagnostic-with-line-position)Returns: number
**Returns:** `number`
(message diagnostic-with-line-position)Returns: string
**Returns:** `string`
(related-information diagnostic-with-line-position)Returns: DiagnosticRelatedInformation[] | undefined
**Returns:** `DiagnosticRelatedInformation[] | undefined`
(reports-deprecated diagnostic-with-line-position)Returns: {} | undefined
**Returns:** `{} | undefined`
(reports-unnecessary diagnostic-with-line-position)May store more in future. For now, this will simply be true to indicate when a diagnostic is an unused-identifier diagnostic.
Returns: {} | undefined
May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.
**Returns:** `{} | undefined`(set-reports-unnecessary! diagnostic-with-line-position value)May store more in future. For now, this will simply be true to indicate when a diagnostic is an unused-identifier diagnostic.
May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.
(start diagnostic-with-line-position)Returns: number
**Returns:** `number`
(start-location diagnostic-with-line-position)Returns: Location
**Returns:** `Location`
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 |