remove Token::getLine
minor #928 remove Token::getLine (keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

remove Token::getLine

supplement for #911

Commits
-------

1c93b53 remove Token::getLine