- Index
- »
- markdown
- »
- SourceSpan
type
SourceSpan
src
@Js
const class SourceSpan : Obj
References a snippet of text from the source input.
It has a starting positiont (line and column index) and a length of how many characters it spans.
constructors
fields
columnIndex |
0-based index of column (i.e. |
---|---|
len |
Length of the span in characters |
lineIndex |
0-based index of line in source |