ParsedFile({required this.source, required this.unit, required this.content}) : lineCount = '\n'.allMatches(content).length + 1;