Optional
endColumn?: number0-based Position of the character after the end of the marker. (1-based position of the last character + 1)
Optional
endLine?: number0-based line of the end of the marker
Optional
endOffset?: number0-based absolute position of the character after the end of the marker. (0-based position of the last character + 1)
This allows representation of the 0-length markers as "startPos == endPos". In this case endLine and endColumn should be ignored.
The message describing the issue.
The severity level of the issue.
The source of the issue (lexer, parser, or validation).
Optional
startColumn?: number0-based column of the beginning of the marker
Optional
startLine?: number0-based line number of the beginning of the marker
Optional
startOffset?: number0-based absolute position of the beginning of the marker
Represents an issue in a document, such as a syntax error or a validation issue. The issue can be associated with a specific source, such as the lexer, parser, or validation.