feature #1261 added TokenStream::nextIf() (fabpot)
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 3 Dec 2013 12:29:21 +0000 (13:29 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 3 Dec 2013 12:29:21 +0000 (13:29 +0100)
commit05273c15022ccb45709d2700060ad873de3f0ab7
treea0e72f59afe1b8606fdde6464d94e87c25cfb644
parentcab9fd9a100e74aafa201a03ca31aeeb4097c9bc
parent0ed7898089c7beb47db6fa225d34f663a51715bc
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()
lib/Twig/TokenStream.php