added TokenStream::nextIf()