Skip to main content

DiagnosticRange

start object

The start position of the range.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
end object

The end position of the range.

lineinteger

The line number of the source position.

Example: 1
columninteger

The column number of the source position.

Example: 1
columnAccuracyinteger

The column accuracy of the range in the host document.

Possible values: [1, 2]

Example: 1
DiagnosticRange
{
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 1
},
"columnAccuracy": 1
}