LineListExtensions extension

on

Methods

fromString() List<Line>
toNodes(Node transfer(SourceSpan span), {bool trimLeft = false, bool trimLeading = false, bool trimTrailing = false, bool popLineEnding = false}) SourceFromLineList
Converts a Line list to a AST Node list.
toSourceSpans() List<SourceSpan>
Extracts a list of Line lines to SourceSpan spans.