Liking cljdoc? Tell your friends :D

dots.typescript.server.protocol.diagnostic

Item of diagnostic information found in a DiagnosticEvent message.

Item of diagnostic information found in a DiagnosticEvent message.
raw docstring

categorycljs

(category diagnostic)

The category of the diagnostic message, e.g. "error", "warning", or "suggestion".

Returns: string

The category of the diagnostic message, e.g. "error", "warning", or "suggestion".

**Returns:** `string`
sourceraw docstring

codecljs

(code diagnostic)

The error code of the diagnostic message.

Returns: number | undefined

The error code of the diagnostic message.

**Returns:** `number | undefined`
sourceraw docstring

endcljs

(end diagnostic)

The last file location at which the text applies.

Returns: Location

The last file location at which the text applies.

**Returns:** `Location`
sourceraw docstring

(related-information diagnostic)

Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites

Returns: DiagnosticRelatedInformation[] | undefined

Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites

**Returns:** `DiagnosticRelatedInformation[] | undefined`
sourceraw docstring

reports-deprecatedcljs

(reports-deprecated diagnostic)

Returns: {} | undefined

**Returns:** `{} | undefined`
sourceraw docstring

reports-unnecessarycljs

(reports-unnecessary diagnostic)

Returns: {} | undefined

**Returns:** `{} | undefined`
sourceraw docstring

set-category!cljs

(set-category! diagnostic value)

The category of the diagnostic message, e.g. "error", "warning", or "suggestion".

The category of the diagnostic message, e.g. "error", "warning", or "suggestion".
sourceraw docstring

set-code!cljs

(set-code! diagnostic value)

The error code of the diagnostic message.

The error code of the diagnostic message.
sourceraw docstring

set-end!cljs

(set-end! diagnostic value)

The last file location at which the text applies.

The last file location at which the text applies.
sourceraw docstring

(set-related-information! diagnostic value)

Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites

Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites
sourceraw docstring

set-reports-deprecated!cljs

(set-reports-deprecated! diagnostic value)
source

set-reports-unnecessary!cljs

(set-reports-unnecessary! diagnostic value)
source

set-source!cljs

(set-source! diagnostic value)

The name of the plugin reporting the message.

The name of the plugin reporting the message.
sourceraw docstring

set-start!cljs

(set-start! diagnostic value)

Starting file location at which text applies.

Starting file location at which text applies.
sourceraw docstring

set-text!cljs

(set-text! diagnostic value)

Text of diagnostic message.

Text of diagnostic message.
sourceraw docstring

sourcecljs

(source diagnostic)

The name of the plugin reporting the message.

Returns: string | undefined

The name of the plugin reporting the message.

**Returns:** `string | undefined`
sourceraw docstring

startcljs

(start diagnostic)

Starting file location at which text applies.

Returns: Location

Starting file location at which text applies.

**Returns:** `Location`
sourceraw docstring

textcljs

(text diagnostic)

Text of diagnostic message.

Returns: string

Text of diagnostic message.

**Returns:** `string`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close