code: function getIndexOfNextEnvAppearance(fromIndex, env, sequence){
      return sequence.map(function(el){
        return el._env;
      }).indexOf(env, fromIndex);
    }
docs: Get index of next env appearance
  @param   {Number}  fromIndex
  @param   {String}  env
  @return  {Number}