LineInfo constructor
Initialize a newly created set of line information to represent the data
encoded in the given list of lineStarts.
Implementation
LineInfo(this.lineStarts) {
  if (lineStarts.isEmpty) {
    throw ArgumentError("lineStarts must be non-empty");
  }
}