 token and calculate the new line & column.

        As an optional optimization, set test_newline=False if token doesn't contain a newline.
        r