'Finish current line and start a new one.
Place the currently accumulated line into the _unwrapped_lines list and
start a new one.'

def _StartNewLine(self):

    if self._cur_unwrapped_line.tokens:
        self._unwrapped_lines.append(self._cur_unwrapped_line)
        _MatchBrackets(self._cur_unwrapped_line)
        _AdjustSplitPenalty(self._cur_unwrapped_line)
    self._cur_unwrapped_line = unwrapped_line.UnwrappedLine(self._cur_depth)
