nextLine() {
    if (!this.hasNewLine()) {
      return null;
    }
    const line = this.lines[this.linesPointer];