type

SourceLines

src @Js
class SourceLines : Obj

A set of lines (SourceLine) from the input source.

constructors

fields

methods

Slot Details

addLine

src Void addLine(SourceLine line)

content

src Str content()

empty

src static new empty()

isEmpty

src Bool isEmpty()

lines

src SourceLine[] lines := SourceLine[,] { private set }

make

src new make(SourceLine[] lines)

makeOne

src new makeOne(SourceLine line)

sourceSpans

src SourceSpan[] sourceSpans()