src/linkProcessors/nextEnvProcessor.js
function getIndexOfNextEnvAppearance(fromIndex, env, sequence){
    return sequence.map(function(el){
      return el._env;
    }).indexOf(env, fromIndex);
  }
function getIndexOfNextEnvAppearance(fromIndex, env, sequence){
    return sequence.map(function(el){
      return el._env;
    }).indexOf(env, fromIndex);
  }
function getIndexOfNextEnvAppearance ( fromIndex , env , sequence ) { return sequence . map ( function ( el ) { return el . _env ; } ) . indexOf ( env , fromIndex ) ; }
Get index of next env appearance
@param   {Number}  fromIndex
@param   {String}  env
@return  {Number}
Get index of next env appearance