class

SourceLine

@Js
const class SourceLine : Obj

A line or portion of a line from the markdown source text

constructors make

fields sourceSpan

The source span if the parser was configured to include it

content

The line content

methods toStr

substring

Get a new source line that is a substring of this one

content const Str : content

The line content

make new make(Str content, SourceSpan? sourceSpan)

sourceSpan const SourceSpan? : sourceSpan

The source span if the parser was configured to include it

substring SourceLine substring(Int beginIndex, Int endIndex)

Get a new source line that is a substring of this one. The beginIndex is inclusive, and the endIndex is exclusive.

toStr virtual Str toStr()

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST