added TokenStream::nextIf()
feature #1261 added TokenStream::nextIf() (fabpot)

This PR was merged into the master branch.

Discussion
----------

added TokenStream::nextIf()

The introduction of `nextIf()` simplified a lot of code.

Commits
-------

0ed7898 added TokenStream::nextIf()