const class markdown::SourceLine

sys::Obj
  markdown::SourceLine

@Js

Source

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

content

const Str content

Source

The line content

make

new make(Str content, SourceSpan? sourceSpan := null)

Source

sourceSpan

const SourceSpan? sourceSpan

Source

The source span if the parser was configured to include it

substring

SourceLine substring(Int beginIndex, Int endIndex)

Source

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

toStr

virtual override Str toStr()

Source