⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / DiagnosticSourcePosition

Interface: DiagnosticSourcePosition ​

A position within a source string.

Properties ​

column ​

column: number

1-based column number.


line ​

line: number

1-based line number.


offset ​

offset: number

0-based UTF-16 code-unit offset from the start of the source string.