def METHOD_NAME(line):
    if isBlank(line):
        blanks.add('\n')
        return METHOD_NAME
    elif isCommentLine(line):
        blanks.flushTo(comments)
        comments.add(line)
        return HaveCommentLines
    else:
        comments.flushTo(lines)
        blanks.flushTo(lines)
        lines.add(line)
        return SourceLines