function updateModifiedFlag(conditions,modifiers){var funcNode=void 0,funcVar=void 0;for(var i=0;i<conditions.length;++i){var condition=conditions[i];for(var j=0;!condition.modified&&j<modifiers.length;++j){var modifier=modifiers[j];/*
             * Besides checking for the condition being in the loop, we want to
             * check the function that this modifier is belonging to is called
             * in the loop.
             * FIXME: This should probably be extracted to a function.
             */var inLoop=condition.isInLoop(modifier)||Boolean((funcNode=getEncloseFunctionDeclaration(modifier))&&(funcVar=astUtils.getVariableByName(modifier.from.upper,funcNode.id.name))&&funcVar.references.some(condition.isInLoop));condition.modified=inLoop;}}}//------------------------------------------------------------------------------
Updates the "modified" flags of given loop conditions with given modifiers.

@param {LoopConditionInfo[]} conditions - The loop conditions to be updated.
@param {escope.Reference[]} modifiers - The references to update.
@returns {void}