Private
collectionPrivate
diagnosticsPrivate
diagnosticsPrivate
isPrivate
onPrivate
onPrivate
proxyStatic
Private
DIAGNOSTICS_Dispose and free associated resources. Calls clear.
Private
ensurePrivate
fireIterate over each entry in this collection.
Function to execute for each entry.
Optional
thisArg: anyThe this
context used when invoking the handler function.
Get the diagnostics for a given resource. Note that you cannot modify the diagnostics-array returned from this call.
A resource identifier.
An immutable array of diagnostics or undefined
.
Private
getPrivate
getPrivate
sendAssign diagnostics for given resource. Will replace existing diagnostics for that resource.
A resource identifier.
Array of diagnostics or undefined
Replace all entries in this collection for given uris.
Diagnostics of multiple tuples of the same uri will be merged, e.g
[[file1, [d1]], [file1, [d2]]]
is equivalent to [[file1, [d1, d2]]]
.
If a diagnostics item is undefined
as in [file1, undefined]
all previous but not subsequent diagnostics are removed.
An array of tuples, like [[file1, [d1, d2]], [file2, [d3, d4, d5]]]
, or undefined
.
Private
setPrivate
setOptional
diagnostics: Diagnostic[]Private
to
The name of this diagnostic collection, for instance
typescript
. Every diagnostic from this collection will be associated with this name. Also, the task framework uses this name when defining problem matchers.