Documentation / @facturometro/core / IssueLocation
Interface: IssueLocation ​
Defined in: packages/core/src/issue.ts:64
Position of a diagnostic in the source XML.
Only available for documents that were parsed; built documents have no source text. line and column are 1-based, offset is a 0-based character offset.
Example ​
ts
import type { IssueLocation } from '@facturometro/core';
const location: IssueLocation = { column: 5, line: 42, offset: 1234 };Properties ​
column ​
readonlycolumn:number
Defined in: packages/core/src/issue.ts:66
1-based column of the offending node.
line ​
readonlyline:number
Defined in: packages/core/src/issue.ts:68
1-based line of the offending node.
offset ​
readonlyoffset:number
Defined in: packages/core/src/issue.ts:70
0-based character offset of the offending node.